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.001124/0.001124, allocations: 170.9 kB / 16.07 MB, free: 5.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.4 MB / 222.2 MB, free: 13.74 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.0006993/0.0006992, allocations: 98.23 kB / 270.6 MB, free: 13.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1517/0.1517, allocations: 38.07 MB / 356.9 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 16 kB / 423.4 MB, free: 25.99 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09073/0.09114, allocations: 56.33 MB / 479.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.003779/0.09496, allocations: 3.686 MB / 483.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.09704, allocations: 1.786 MB / 485.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.09719, allocations: 11.94 kB / 485.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.09737, allocations: 55.61 kB / 485.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007128/0.09809, allocations: 374.6 kB / 485.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.09839, allocations: 131.7 kB / 485.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005637/0.09897, allocations: 0.6389 MB / 486.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007052/0.09968, allocations: 423.8 kB / 486.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.09994, allocations: 175.2 kB / 487 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1002, allocations: 223.2 kB / 487.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.1003, allocations: 16 kB / 487.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006955/0.101, allocations: 0.4987 MB / 487.7 MB, free: 9.566 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1011, allocations: 147.5 kB / 487.9 MB, free: 9.422 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.1013, allocations: 157.1 kB / 488 MB, free: 9.262 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.1016, allocations: 367.2 kB / 488.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1017, allocations: 0 / 488.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1017, allocations: 0 / 488.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1017, allocations: 0 / 488.4 MB, free: 8.902 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.000668/0.1024, allocations: 0.5535 MB / 488.9 MB, free: 8.301 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1024, allocations: 12.03 kB / 488.9 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.1025, allocations: 62.72 kB / 489 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.1035, allocations: 136.4 kB / 489.1 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.1039, allocations: 292.6 kB / 489.4 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1039, allocations: 12.94 kB / 489.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.1039, allocations: 24.38 kB / 489.5 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.1046, allocations: 447.7 kB / 489.9 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1046, allocations: 8 kB / 489.9 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1046, allocations: 8 kB / 489.9 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/0.1047, allocations: 24.55 kB / 489.9 MB, free: 7.223 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.1053, allocations: 421.9 kB / 490.4 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.1073, allocations: 1.733 MB / 492.1 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/0.1076, allocations: 290.1 kB / 492.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.1078, allocations: 137.7 kB / 492.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1078, allocations: 4 kB / 492.5 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1079, allocations: 34.94 kB / 492.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.1079, allocations: 0 / 492.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001647/0.1095, allocations: 0.7903 MB / 493.3 MB, free: 3.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1096, allocations: 89.05 kB / 493.4 MB, free: 3.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1098, allocations: 203 kB / 493.6 MB, free: 3.301 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.1098, allocations: 29.7 kB / 493.6 MB, free: 3.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1099, allocations: 184 kB / 493.8 MB, free: 3.082 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.11, allocations: 79.03 kB / 493.9 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.11, allocations: 4 kB / 493.9 MB, free: 3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1101, allocations: 334.8 kB / 494.2 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.1103, allocations: 104.5 kB / 494.3 MB, free: 2.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.1105, allocations: 205 kB / 494.5 MB, free: 2.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.1109, allocations: 337 kB / 494.9 MB, free: 1.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1109, allocations: 4 kB / 494.9 MB, free: 1.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006621/0.1116, allocations: 437.5 kB / 495.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1116, allocations: 4 kB / 495.3 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1116, allocations: 4.406 kB / 495.3 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.112, allocations: 84.8 kB / 495.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.1122, allocations: 63.83 kB / 495.4 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.114, allocations: 1.799 MB / 497.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1141, allocations: 15.92 kB / 497.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.1142, allocations: 16.06 kB / 497.3 MB, free: 15.39 MB / 346.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.0001564/0.1143, allocations: 173.7 kB / 497.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.1144, allocations: 23.66 kB / 497.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006795/0.1151, allocations: 380 kB / 497.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1151, allocations: 4 kB / 497.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1151, allocations: 11.94 kB / 497.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1151, allocations: 3.984 kB / 497.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.1164, allocations: 0.9136 MB / 498.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1164, allocations: 0 / 498.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.1166, allocations: 39.91 kB / 498.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002454/0.1169, allocations: 72.73 kB / 498.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1169, allocations: 4 kB / 498.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/0.1184, allocations: 1.705 MB / 0.4889 GB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1185, allocations: 4.031 kB / 0.4889 GB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.1191, allocations: 466.3 kB / 0.4893 GB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.1192, allocations: 104.8 kB / 0.4894 GB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.1192, allocations: 4 kB / 0.4894 GB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1193, allocations: 11.98 kB / 0.4894 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.1194, allocations: 27.91 kB / 0.4895 GB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1194, allocations: 4 kB / 0.4895 GB, free: 11.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1196, allocations: 148.4 kB / 0.4896 GB, free: 11.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1196, allocations: 4 kB / 0.4896 GB, free: 11.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.12, allocations: 84 kB / 0.4897 GB, free: 10.95 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.0008439/0.1209, allocations: 0.9929 MB / 0.4907 GB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007013/0.1216, allocations: 435.1 kB / 0.4911 GB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1216, allocations: 0 / 0.4911 GB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.122, allocations: 282.5 kB / 0.4913 GB, free: 9.188 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1224, allocations: 31.98 kB / 0.4914 GB, free: 9.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.1248, allocations: 1.806 MB / 0.4931 GB, free: 7.242 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1252, allocations: 0.8023 MB / 0.4939 GB, free: 6.414 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1253, allocations: 83.41 kB / 0.494 GB, free: 6.332 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1253, allocations: 0 / 0.494 GB, free: 6.332 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.252/3.377, allocations: 5.261 MB / 0.4991 GB, free: 1.062 MB / 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)