Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.002231/0.002231, allocations: 179.7 kB / 8.351 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.63/1.63, allocations: 194.3 MB / 203.1 MB, free: 13.04 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.001818/0.001817, allocations: 121.5 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1668/0.1668, allocations: 37.92 MB / 330.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.982e-05, allocations: 0 / 390.5 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3007, allocations: 53.23 MB / 443.7 MB, free: 17.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.4422, allocations: 89.06 MB / 0.5203 GB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/0.4427, allocations: 83.95 kB / 0.5203 GB, free: 8.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2873/0.7301, allocations: 14.01 MB / 0.534 GB, free: 88.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7301, allocations: 0 / 0.534 GB, free: 88.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.7301, allocations: 10.56 kB / 0.534 GB, free: 88.62 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008124/0.731, allocations: 498 kB / 0.5345 GB, free: 88.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.731, allocations: 9.062 kB / 0.5345 GB, free: 88.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.7322, allocations: 111.3 kB / 0.5346 GB, free: 88.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.7326, allocations: 262.3 kB / 0.5349 GB, free: 87.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.7326, allocations: 8.469 kB / 0.5349 GB, free: 87.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.7327, allocations: 10.25 kB / 0.5349 GB, free: 87.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005184/0.7332, allocations: 210.6 kB / 0.5351 GB, free: 87.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.7338, allocations: 285 kB / 0.5354 GB, free: 87.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.7338, allocations: 9.094 kB / 0.5354 GB, free: 87.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.7339, allocations: 0.5312 kB / 0.5354 GB, free: 87.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.734, allocations: 26.36 kB / 0.5354 GB, free: 87.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.7357, allocations: 1.25 MB / 0.5366 GB, free: 87.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.7359, allocations: 168.4 kB / 0.5368 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.7361, allocations: 120.2 kB / 0.5369 GB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.7361, allocations: 3.109 kB / 0.5369 GB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.7362, allocations: 36.78 kB / 0.5369 GB, free: 86.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/0.7362, allocations: 0 / 0.5369 GB, free: 86.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001033/0.7372, allocations: 458.9 kB / 0.5374 GB, free: 86.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.7373, allocations: 84.11 kB / 0.5375 GB, free: 86.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.7374, allocations: 158.2 kB / 0.5376 GB, free: 86.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.7374, allocations: 26.7 kB / 0.5376 GB, free: 86.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.7375, allocations: 146.2 kB / 0.5378 GB, free: 86.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.7376, allocations: 63.44 kB / 0.5378 GB, free: 86.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.7376, allocations: 3.469 kB / 0.5378 GB, free: 86.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.7377, allocations: 330.2 kB / 0.5381 GB, free: 86.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.7378, allocations: 84.47 kB / 0.5382 GB, free: 86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.738, allocations: 152.5 kB / 0.5384 GB, free: 85.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.7382, allocations: 116 kB / 0.5385 GB, free: 85.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7382, allocations: 0 / 0.5385 GB, free: 85.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005333/0.7387, allocations: 342.4 kB / 0.5388 GB, free: 85.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7387, allocations: 6.438 kB / 0.5388 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7388, allocations: 7.406 kB / 0.5388 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003983/0.7392, allocations: 87.2 kB / 0.5389 GB, free: 85.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.7393, allocations: 42.11 kB / 0.5389 GB, free: 85.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.7411, allocations: 1.842 MB / 0.5407 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.7412, allocations: 20.94 kB / 0.5408 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.7413, allocations: 7.875 kB / 0.5408 GB, free: 84.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (22): * Single equations (assignments): 21 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/0.7414, allocations: 116.9 kB / 0.5409 GB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005408/0.7419, allocations: 313.4 kB / 0.5412 GB, free: 83.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.742, allocations: 15.44 kB / 0.5412 GB, free: 83.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005533/0.7425, allocations: 330.8 kB / 0.5415 GB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.7425, allocations: 3.5 kB / 0.5415 GB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.7425, allocations: 0 / 0.5415 GB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7426, allocations: 3.938 kB / 0.5415 GB, free: 83.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.7436, allocations: 0.7352 MB / 0.5422 GB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.7436, allocations: 1.969 kB / 0.5422 GB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.7438, allocations: 28.52 kB / 0.5423 GB, free: 83.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/0.7441, allocations: 74.16 kB / 0.5423 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.7441, allocations: 0 / 0.5423 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.7458, allocations: 1.754 MB / 0.544 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.7459, allocations: 3.844 kB / 0.5441 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.7465, allocations: 453.7 kB / 0.5445 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.7466, allocations: 91.52 kB / 0.5446 GB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.7466, allocations: 7.281 kB / 0.5446 GB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.7467, allocations: 7.219 kB / 0.5446 GB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.7468, allocations: 18.97 kB / 0.5446 GB, free: 81.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.7468, allocations: 7.75 kB / 0.5446 GB, free: 81.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.747, allocations: 117.6 kB / 0.5447 GB, free: 81.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.747, allocations: 0 / 0.5447 GB, free: 81.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005693/0.7475, allocations: 82.34 kB / 0.5448 GB, free: 81.29 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 (18): * Single equations (assignments): 16 * 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: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008394/0.7484, allocations: 1.189 MB / 0.546 GB, free: 80.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007265/0.7491, allocations: 383.6 kB / 0.5463 GB, free: 80.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7491, allocations: 0 / 0.5463 GB, free: 80.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.7495, allocations: 254.5 kB / 0.5466 GB, free: 79.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.7499, allocations: 34.98 kB / 0.5466 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000874/0.7507, allocations: 414.2 kB / 0.547 GB, free: 79.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.751, allocations: 0.7759 MB / 0.5478 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.7511, allocations: 39.52 kB / 0.5478 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.354e-05/0.7512, allocations: 64.3 kB / 0.5479 GB, free: 78.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.7512, allocations: 3.125 kB / 0.5479 GB, free: 78.89 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.7772, allocations: 4.393 MB / 0.5522 GB, free: 75.61 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/0.7775, allocations: 133 kB / 0.5523 GB, free: 75.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.564, allocations: 0 / 0.5523 GB, free: 75.42 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)