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/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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008089, allocations: 87.7 kB / 16.31 MB, free: 6.449 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.0008999/0.0009003, allocations: 182.8 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.4 MB / 223.4 MB, free: 5.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3573/0.3573, allocations: 38.05 MB / 309.7 MB, free: 8.855 MB / 254.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.0005112/0.0005113, allocations: 16 kB / 376.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1259, allocations: 56.32 MB / 432.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004561/0.1306, allocations: 3.644 MB / 436.6 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.1329, allocations: 1.79 MB / 438.4 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.133, allocations: 15.94 kB / 438.4 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.1332, allocations: 47.62 kB / 438.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006889/0.1339, allocations: 310.8 kB / 438.7 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.1342, allocations: 107.7 kB / 438.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005909/0.1348, allocations: 0.635 MB / 439.5 MB, free: 184 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007512/0.1356, allocations: 426.4 kB / 439.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.1358, allocations: 171.2 kB / 440.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.1361, allocations: 219.3 kB / 440.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1362, allocations: 16 kB / 440.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004158/0.1366, allocations: 243.3 kB / 440.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1367, allocations: 143.7 kB / 440.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.1368, allocations: 77.52 kB / 440.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.1372, allocations: 351.2 kB / 441.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1372, allocations: 4 kB / 441.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1372, allocations: 0 / 441.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.1372, allocations: 0 / 441.1 MB, free: 14.54 MB / 382.1 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.0007472/0.138, allocations: 0.5417 MB / 441.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.138, allocations: 15.97 kB / 441.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.851e-05/0.1381, allocations: 62.53 kB / 441.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.1392, allocations: 139.5 kB / 441.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1396, allocations: 278.5 kB / 442.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1396, allocations: 20.55 kB / 442.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.1397, allocations: 31.98 kB / 442.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.1403, allocations: 435.6 kB / 442.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1403, allocations: 3.953 kB / 442.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.1404, allocations: 11.98 kB / 442.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.1404, allocations: 24.55 kB / 442.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.141, allocations: 425.8 kB / 443.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.143, allocations: 1.714 MB / 444.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.1433, allocations: 306.5 kB / 445.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.1435, allocations: 138 kB / 445.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.1436, allocations: 192 / 445.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1436, allocations: 38.75 kB / 445.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.212e-06/0.1436, allocations: 0 / 445.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001716/0.1453, allocations: 0.7887 MB / 446 MB, free: 9.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.1454, allocations: 77.11 kB / 446.1 MB, free: 9.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1456, allocations: 214.9 kB / 446.3 MB, free: 8.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.1456, allocations: 25.7 kB / 446.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1457, allocations: 188 kB / 446.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.1458, allocations: 86.78 kB / 446.6 MB, free: 8.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.1458, allocations: 4 kB / 446.6 MB, free: 8.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.146, allocations: 331 kB / 446.9 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1461, allocations: 112.4 kB / 447 MB, free: 8.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1464, allocations: 204.9 kB / 447.2 MB, free: 7.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.1466, allocations: 137.2 kB / 447.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1466, allocations: 8 kB / 447.4 MB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006789/0.1473, allocations: 421.7 kB / 447.8 MB, free: 7.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1473, allocations: 8.406 kB / 447.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1473, allocations: 8 kB / 447.8 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.1476, allocations: 80.8 kB / 447.9 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.1479, allocations: 59.89 kB / 448 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.1496, allocations: 1.799 MB / 449.8 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.1498, allocations: 20.05 kB / 449.8 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.1498, allocations: 16 kB / 449.8 MB, free: 5.27 MB / 382.1 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 () * Number of clocked 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.0002139/0.1501, allocations: 169.7 kB / 450 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.1501, allocations: 23.97 kB / 450 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006689/0.1508, allocations: 376 kB / 450.3 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1508, allocations: 11.98 kB / 450.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1508, allocations: 4 kB / 450.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1508, allocations: 0 / 450.4 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.1521, allocations: 0.9137 MB / 451.3 MB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1522, allocations: 0 / 451.3 MB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1523, allocations: 43.84 kB / 451.3 MB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.1526, allocations: 68.8 kB / 451.4 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.1526, allocations: 8 kB / 451.4 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.1543, allocations: 1.709 MB / 453.1 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1543, allocations: 0 / 453.1 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.1549, allocations: 470.5 kB / 453.6 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.155, allocations: 100.9 kB / 453.7 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.1551, allocations: 8 kB / 453.7 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1552, allocations: 8.109 kB / 453.7 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.1552, allocations: 19.97 kB / 453.7 MB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.1553, allocations: 12 kB / 453.7 MB, free: 1.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1554, allocations: 156.4 kB / 453.9 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1554, allocations: 0 / 453.9 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004684/0.1559, allocations: 87.95 kB / 453.9 MB, free: 0.8242 MB / 382.1 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 () * Number of clocked 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.2287/0.3846, allocations: 0.9839 MB / 454.9 MB, free: 50.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009187/0.3855, allocations: 419.9 kB / 455.3 MB, free: 50.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3855, allocations: 0 / 455.3 MB, free: 50.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.3859, allocations: 287.2 kB / 455.6 MB, free: 50.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.3864, allocations: 35.31 kB / 455.7 MB, free: 50.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3884, allocations: 1.76 MB / 457.4 MB, free: 49.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.3887, allocations: 0.8011 MB / 458.2 MB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.3888, allocations: 50.06 kB / 458.3 MB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3889, allocations: 88.47 kB / 458.4 MB, free: 49.1 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3889, allocations: 0 / 458.4 MB, free: 49.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.4045, allocations: 5.141 MB / 463.5 MB, free: 48.69 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/0.4047, allocations: 209.8 kB / 463.7 MB, free: 48.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.184, allocations: 3.312 kB / 463.7 MB, free: 48.45 MB / 382.1 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) Environment - environmentSimulation: