Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008244, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009338/0.0009338, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05862/0.05862, allocations: 14.17 MB / 284.6 MB, free: 7.129 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005239/0.000524, allocations: 24 kB / 346.3 MB, free: 19.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1029, allocations: 51.12 MB / 397.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine): time 0.006722/0.1097, allocations: 6.553 MB / 403.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005583/0.1154, allocations: 3.26 MB / 407.2 MB, free: 6.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009929/0.1164, allocations: 15.94 kB / 407.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.1174, allocations: 314.4 kB / 407.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003377/0.1208, allocations: 1.267 MB / 408.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008952/0.1217, allocations: 482.5 kB / 409.3 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.1239, allocations: 1.758 MB / 411 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.1241, allocations: 122.4 kB / 411.1 MB, free: 2.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007595/0.1249, allocations: 469.6 kB / 411.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005852/0.1255, allocations: 0.5017 MB / 412.1 MB, free: 1.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.1256, allocations: 28 kB / 412.1 MB, free: 1.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009188/0.1265, allocations: 351.7 kB / 412.5 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1266, allocations: 115.3 kB / 412.6 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.1268, allocations: 209.3 kB / 412.8 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.128, allocations: 1.025 MB / 413.8 MB, free: 132 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.128, allocations: 4 kB / 413.8 MB, free: 128 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.128, allocations: 0 / 413.8 MB, free: 128 kB / 302.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.128, allocations: 0 / 413.8 MB, free: 128 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00443/0.1325, allocations: 1.509 MB / 415.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.1325, allocations: 12.02 kB / 415.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.1327, allocations: 126.5 kB / 415.5 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005525/0.1333, allocations: 146.7 kB / 415.6 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.1345, allocations: 0.6365 MB / 416.2 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.1345, allocations: 58 kB / 416.3 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.372e-05/0.1346, allocations: 64 kB / 416.4 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.1359, allocations: 0.7542 MB / 417.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.136, allocations: 0 / 417.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.136, allocations: 31.94 kB / 417.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.136, allocations: 20 kB / 417.2 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1372, allocations: 0.7261 MB / 417.9 MB, free: 11.93 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004713/0.1419, allocations: 4.409 MB / 422.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.1438, allocations: 1.166 MB / 423.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/0.1442, allocations: 319.7 kB / 423.8 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.846e-05/0.1443, allocations: 16.64 kB / 423.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1443, allocations: 39.22 kB / 423.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=82): time 3.546e-06/0.1443, allocations: 0 / 423.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=82): time 0.002804/0.1471, allocations: 1.252 MB / 425.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1472, allocations: 60.06 kB / 425.1 MB, free: 4.035 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.1478, allocations: 491 kB / 425.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.1479, allocations: 37.7 kB / 425.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.1481, allocations: 356 kB / 426 MB, free: 3.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.1483, allocations: 279.8 kB / 426.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.1484, allocations: 16 kB / 426.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1486, allocations: 378.7 kB / 426.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.1489, allocations: 217.9 kB / 426.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.1493, allocations: 316.8 kB / 427.2 MB, free: 1.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.1497, allocations: 271 kB / 427.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1497, allocations: 3.938 kB / 427.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001523/0.1513, allocations: 0.8488 MB / 428.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1513, allocations: 8 kB / 428.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1513, allocations: 0 / 428.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005369/0.1519, allocations: 176.9 kB / 428.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.1526, allocations: 195.8 kB / 428.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1797/0.3323, allocations: 2.322 MB / 431 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/0.333, allocations: 51.8 kB / 431 MB, free: 35.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.3331, allocations: 28.95 kB / 431.1 MB, free: 35.14 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004047/0.3335, allocations: 218.2 kB / 431.3 MB, free: 35.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.3336, allocations: 77.66 kB / 431.4 MB, free: 35.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.3353, allocations: 0.8266 MB / 432.2 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3354, allocations: 8.672 kB / 432.2 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3354, allocations: 3.312 kB / 432.2 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.3354, allocations: 4.125 kB / 432.2 MB, free: 34.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.338, allocations: 1.883 MB / 434.1 MB, free: 33.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.338, allocations: 0 / 434.1 MB, free: 33.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006932/0.3387, allocations: 167.5 kB / 434.3 MB, free: 33.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004829/0.3392, allocations: 171.7 kB / 434.4 MB, free: 33.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.3393, allocations: 11.73 kB / 434.4 MB, free: 33.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002445/0.3417, allocations: 2.321 MB / 436.8 MB, free: 32.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3417, allocations: 6.281 kB / 436.8 MB, free: 32.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.3432, allocations: 0.8833 MB / 437.6 MB, free: 31.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.3435, allocations: 208 kB / 437.8 MB, free: 31.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/0.3436, allocations: 16.38 kB / 437.9 MB, free: 31.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.3439, allocations: 29.5 kB / 437.9 MB, free: 31.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.344, allocations: 53.8 kB / 437.9 MB, free: 31.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.3441, allocations: 18.86 kB / 438 MB, free: 31.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000431/0.3445, allocations: 336 kB / 438.3 MB, free: 31.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3445, allocations: 2.312 kB / 438.3 MB, free: 31.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009011/0.3454, allocations: 279.5 kB / 438.6 MB, free: 31.26 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001662/0.3471, allocations: 1.495 MB / 440.1 MB, free: 30.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.3485, allocations: 0.8152 MB / 440.9 MB, free: 29.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3485, allocations: 0 / 440.9 MB, free: 29.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007475/0.3493, allocations: 0.5281 MB / 441.4 MB, free: 29.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.3499, allocations: 88.02 kB / 441.5 MB, free: 29.55 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006466/0.3564, allocations: 3.927 MB / 445.4 MB, free: 27.49 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.3569, allocations: 0.942 MB / 446.4 MB, free: 26.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004473/0.3573, allocations: 88.08 kB / 446.4 MB, free: 26.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.3577, allocations: 267.7 kB / 446.7 MB, free: 26.55 MB / 318.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3577, allocations: 0 / 446.7 MB, free: 26.55 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.3846, allocations: 14.15 MB / 460.9 MB, free: 17.82 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/0.3848, allocations: 220.1 kB / 461.1 MB, free: 17.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.404, allocations: 0 / 461.1 MB, free: 17.57 MB / 318.1 MB (rm -f PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_TwoBusesPowerTransferTransmissionLine.fmu > PowerGrids_PowerGrids.Electrical.Test.TwoBusesPowerTransferTransmissionLine.pipe 2>&1) Environment - environmentSimulation: