Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001162/0.001162, allocations: 181.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.722/1.722, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001652/0.001652, allocations: 104.7 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2119/0.2119, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.659e-05/5.669e-05, allocations: 4 kB / 397.6 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3592, allocations: 53.23 MB / 450.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.5015, allocations: 88.97 MB / 0.5272 GB, free: 4.375 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.5018, allocations: 83.81 kB / 0.5273 GB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3407/0.8426, allocations: 17.88 MB / 0.5447 GB, free: 83.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.8427, allocations: 0 / 0.5447 GB, free: 83.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.8427, allocations: 7.969 kB / 0.5447 GB, free: 83.24 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001112/0.8438, allocations: 0.5474 MB / 0.5453 GB, free: 82.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.506e-05/0.8439, allocations: 11.81 kB / 0.5453 GB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.844, allocations: 69.94 kB / 0.5453 GB, free: 82.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.8454, allocations: 137.3 kB / 0.5455 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005412/0.846, allocations: 294 kB / 0.5458 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.846, allocations: 19.89 kB / 0.5458 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.8461, allocations: 27.41 kB / 0.5458 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.8468, allocations: 421.9 kB / 0.5462 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.8469, allocations: 3.953 kB / 0.5462 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.8469, allocations: 10.94 kB / 0.5462 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.847, allocations: 42.67 kB / 0.5463 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.8476, allocations: 404.4 kB / 0.5466 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.8498, allocations: 1.717 MB / 0.5483 GB, free: 80.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.8502, allocations: 282.7 kB / 0.5486 GB, free: 80.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.8504, allocations: 126.1 kB / 0.5487 GB, free: 79.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.8504, allocations: 8.188 kB / 0.5487 GB, free: 79.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.8505, allocations: 42.69 kB / 0.5488 GB, free: 79.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.777e-06/0.8505, allocations: 3.938 kB / 0.5488 GB, free: 79.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.001133/0.8516, allocations: 0.5239 MB / 0.5493 GB, free: 79.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.8517, allocations: 81.11 kB / 0.5493 GB, free: 79.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.8518, allocations: 187 kB / 0.5495 GB, free: 79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.8519, allocations: 29.7 kB / 0.5496 GB, free: 78.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.8519, allocations: 183.8 kB / 0.5497 GB, free: 78.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.852, allocations: 82.73 kB / 0.5498 GB, free: 78.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.852, allocations: 4 kB / 0.5498 GB, free: 78.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.8521, allocations: 330.8 kB / 0.5501 GB, free: 78.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.8523, allocations: 100.5 kB / 0.5502 GB, free: 78.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.8524, allocations: 201 kB / 0.5504 GB, free: 78.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.8526, allocations: 128.6 kB / 0.5505 GB, free: 77.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8526, allocations: 4 kB / 0.5505 GB, free: 77.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007393/0.8534, allocations: 437.5 kB / 0.551 GB, free: 77.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.8534, allocations: 8 kB / 0.551 GB, free: 77.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8534, allocations: 0 / 0.551 GB, free: 77.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/0.8538, allocations: 97.27 kB / 0.5511 GB, free: 77.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.8541, allocations: 51.91 kB / 0.5511 GB, free: 77.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.8558, allocations: 1.803 MB / 0.5529 GB, free: 75.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.856, allocations: 19.92 kB / 0.5529 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.856, allocations: 15.98 kB / 0.5529 GB, free: 75.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.8561, allocations: 121.9 kB / 0.553 GB, free: 75.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.8562, allocations: 19.81 kB / 0.553 GB, free: 75.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007166/0.8569, allocations: 375.8 kB / 0.5534 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.8569, allocations: 4 kB / 0.5534 GB, free: 74.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.8569, allocations: 0 / 0.5534 GB, free: 74.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.8569, allocations: 0 / 0.5534 GB, free: 74.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.8583, allocations: 0.9179 MB / 0.5543 GB, free: 73.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8583, allocations: 8.062 kB / 0.5543 GB, free: 73.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.8584, allocations: 31.98 kB / 0.5543 GB, free: 73.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002466/0.8587, allocations: 76.92 kB / 0.5544 GB, free: 73.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.8587, allocations: 4 kB / 0.5544 GB, free: 73.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.8601, allocations: 1.717 MB / 0.5561 GB, free: 71.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8601, allocations: 0 / 0.5561 GB, free: 71.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.8607, allocations: 496.9 kB / 0.5566 GB, free: 71.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.8608, allocations: 96.92 kB / 0.5567 GB, free: 71.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.8608, allocations: 7.938 kB / 0.5567 GB, free: 71.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.861, allocations: 12 kB / 0.5567 GB, free: 71.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.861, allocations: 19.97 kB / 0.5567 GB, free: 71.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.861, allocations: 4 kB / 0.5567 GB, free: 71.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001255/0.8612, allocations: 155.2 kB / 0.5568 GB, free: 71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8612, allocations: 3.938 kB / 0.5569 GB, free: 71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005255/0.8617, allocations: 88 kB / 0.5569 GB, free: 70.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008507/0.8626, allocations: 1.232 MB / 0.5581 GB, free: 69.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006703/0.8632, allocations: 422.5 kB / 0.5585 GB, free: 69.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8633, allocations: 0 / 0.5585 GB, free: 69.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.8636, allocations: 286.8 kB / 0.5588 GB, free: 68.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.8639, allocations: 33.36 kB / 0.5588 GB, free: 68.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.865, allocations: 0.5265 MB / 0.5594 GB, free: 68.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.8653, allocations: 0.8109 MB / 0.5602 GB, free: 67.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.8654, allocations: 54.17 kB / 0.5602 GB, free: 67.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.8656, allocations: 87.41 kB / 0.5603 GB, free: 67.33 MB / 378.7 MB Notification: Performance of SimCode: time 2.905e-06/0.8656, allocations: 0 / 0.5603 GB, free: 67.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.8896, allocations: 5.172 MB / 0.5653 GB, free: 62.17 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/0.89, allocations: 176.3 kB / 0.5655 GB, free: 61.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.975, allocations: 0 / 0.5655 GB, free: 61.95 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)