Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_cpp_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.3+maint.om/package.mo): time 0.00155/0.001556, allocations: 189.5 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 90.8 kB / 270.2 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2615/0.2615, allocations: 38.05 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006249/0.0006252, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1104, allocations: 56.33 MB / 479.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005705/0.1162, allocations: 3.538 MB / 482.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003714/0.12, allocations: 1.74 MB / 484.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.1202, allocations: 15.94 kB / 484.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.1205, allocations: 59.59 kB / 484.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.1215, allocations: 235.2 kB / 484.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.1221, allocations: 111.7 kB / 484.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.1226, allocations: 223.5 kB / 485 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.1237, allocations: 406.4 kB / 485.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.1241, allocations: 143.5 kB / 485.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.1244, allocations: 123.6 kB / 485.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.1245, allocations: 16 kB / 485.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007591/0.1253, allocations: 227.5 kB / 485.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.1255, allocations: 123.7 kB / 486.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.1256, allocations: 77.58 kB / 486.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007053/0.1263, allocations: 355.2 kB / 486.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1263, allocations: 3.938 kB / 486.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1264, allocations: 0 / 486.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1264, allocations: 0 / 486.5 MB, free: 10.54 MB / 330.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.001033/0.1274, allocations: 0.5457 MB / 487 MB, free: 9.945 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1275, allocations: 8.031 kB / 487 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.1276, allocations: 70.48 kB / 487.1 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.1295, allocations: 155.4 kB / 487.3 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.1302, allocations: 279.5 kB / 487.5 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.1302, allocations: 20.56 kB / 487.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.1303, allocations: 31.89 kB / 487.6 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.1314, allocations: 435.6 kB / 488 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.1315, allocations: 4 kB / 488 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/0.1316, allocations: 8 kB / 488 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.983e-05/0.1317, allocations: 32.5 kB / 488.1 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1327, allocations: 421.9 kB / 488.5 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.1363, allocations: 1.722 MB / 490.2 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.1369, allocations: 286.7 kB / 490.5 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.137, allocations: 192 / 490.5 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.137, allocations: 42.75 kB / 490.5 MB, free: 6.211 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.535e-06/0.1371, allocations: 3.938 kB / 490.5 MB, free: 6.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.002864/0.1399, allocations: 0.7737 MB / 491.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.14, allocations: 89.06 kB / 491.4 MB, free: 5.301 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.1403, allocations: 218.8 kB / 491.6 MB, free: 5.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.1404, allocations: 29.7 kB / 491.6 MB, free: 5.043 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1406, allocations: 246.4 kB / 491.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.838e-05/0.1407, allocations: 74.91 kB / 491.9 MB, free: 4.727 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.1407, allocations: 4 kB / 491.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1409, allocations: 326.8 kB / 492.3 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.1412, allocations: 100.5 kB / 492.3 MB, free: 4.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.1415, allocations: 201 kB / 492.5 MB, free: 4.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.1419, allocations: 145.1 kB / 492.7 MB, free: 3.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.1419, allocations: 4 kB / 492.7 MB, free: 3.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001255/0.1432, allocations: 425.7 kB / 493.1 MB, free: 3.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.1432, allocations: 8 kB / 493.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1433, allocations: 4 kB / 493.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.1439, allocations: 85.2 kB / 493.2 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.1443, allocations: 55.91 kB / 493.3 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/0.1474, allocations: 1.827 MB / 495.1 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.1478, allocations: 15.98 kB / 495.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.1479, allocations: 19.98 kB / 495.1 MB, free: 1.34 MB / 330.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 () * 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.000292/0.1482, allocations: 181.7 kB / 495.3 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.1483, allocations: 19.72 kB / 495.3 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.1495, allocations: 380 kB / 495.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1495, allocations: 4 kB / 495.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1495, allocations: 0 / 495.7 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.1495, allocations: 11.98 kB / 495.7 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.1519, allocations: 0.9097 MB / 496.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.1519, allocations: 4 kB / 496.6 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.1522, allocations: 43.91 kB / 496.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/0.1527, allocations: 64.8 kB / 496.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.1527, allocations: 4 kB / 496.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/0.1554, allocations: 1.733 MB / 498.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.1554, allocations: 3.953 kB / 498.5 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.1566, allocations: 495.6 kB / 498.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1567, allocations: 100.8 kB / 499 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.1568, allocations: 4 kB / 499 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.1571, allocations: 11.98 kB / 499.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.1571, allocations: 23.88 kB / 499.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.1572, allocations: 11.98 kB / 499.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.1574, allocations: 152.4 kB / 499.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1574, allocations: 0 / 499.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007179/0.1581, allocations: 84 kB / 499.3 MB, free: 12.83 MB / 346.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 () * 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.00154/0.1597, allocations: 1.232 MB / 0.4888 GB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1609, allocations: 430.4 kB / 0.4892 GB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1609, allocations: 0 / 0.4892 GB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.1616, allocations: 291.4 kB / 0.4895 GB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.162, allocations: 31.94 kB / 0.4895 GB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.1669, allocations: 3.745 MB / 0.4932 GB, free: 6.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.1675, allocations: 0.8111 MB / 0.494 GB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.1677, allocations: 87.41 kB / 0.4941 GB, free: 5.988 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1678, allocations: 0 / 0.4941 GB, free: 5.988 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.708/2.875, allocations: 5.566 MB / 0.4995 GB, free: 424 kB / 346.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)