Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.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.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load",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.001537/0.001536, allocations: 187.9 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 1.984/1.984, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001115/0.001115, allocations: 86.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2677/0.2677, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004773, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1102, allocations: 56.33 MB / 479.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.007369/0.1176, allocations: 4.361 MB / 483.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004226/0.1219, allocations: 1.669 MB / 485.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.1224, allocations: 23.81 kB / 485.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1227, allocations: 67.56 kB / 485.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.1238, allocations: 255.2 kB / 485.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1249, allocations: 251.4 kB / 485.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.1257, allocations: 347.7 kB / 486.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.1269, allocations: 484.2 kB / 486.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.1274, allocations: 211.2 kB / 486.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.1281, allocations: 287.1 kB / 487 MB, free: 9.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.57e-05/0.1282, allocations: 20 kB / 487.1 MB, free: 9.941 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.1286, allocations: 99.8 kB / 487.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.1289, allocations: 203.5 kB / 487.4 MB, free: 9.645 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1291, allocations: 113.5 kB / 487.5 MB, free: 9.527 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000779/0.1299, allocations: 498.7 kB / 488 MB, free: 9.039 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1299, allocations: 0 / 488 MB, free: 9.039 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1299, allocations: 0 / 488 MB, free: 9.039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.13, allocations: 3.938 kB / 488 MB, free: 9.035 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002923/0.1329, allocations: 0.8009 MB / 488.8 MB, free: 8.184 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.133, allocations: 8.031 kB / 488.8 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.1332, allocations: 82.47 kB / 488.8 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.134, allocations: 95.28 kB / 488.9 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.1357, allocations: 482.7 kB / 489.4 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.1358, allocations: 32.98 kB / 489.4 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.136, allocations: 51.98 kB / 489.5 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.1376, allocations: 0.6761 MB / 490.2 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.1376, allocations: 11.84 kB / 490.2 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.1377, allocations: 23.97 kB / 490.2 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000195/0.1379, allocations: 40.97 kB / 490.2 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.1393, allocations: 0.515 MB / 490.8 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006207/0.1456, allocations: 3.11 MB / 493.9 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.1466, allocations: 325.3 kB / 494.2 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.871e-05/0.1467, allocations: 16.03 kB / 494.2 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1467, allocations: 30.56 kB / 494.2 MB, free: 2.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 3.126e-06/0.1468, allocations: 0 / 494.2 MB, free: 2.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.003264/0.15, allocations: 1.216 MB / 495.5 MB, free: 1.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/0.1502, allocations: 81.11 kB / 495.5 MB, free: 1.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.1508, allocations: 389.5 kB / 495.9 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.1509, allocations: 29.7 kB / 495.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.1512, allocations: 349.7 kB / 496.3 MB, free: 276 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.1514, allocations: 118.3 kB / 496.4 MB, free: 156 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.1514, allocations: 12 kB / 496.4 MB, free: 144 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1516, allocations: 334.9 kB / 496.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.1521, allocations: 189 kB / 496.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.1528, allocations: 381.5 kB / 497.3 MB, free: 15.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.1535, allocations: 259.6 kB / 497.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.1535, allocations: 4 kB / 497.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00386/0.1574, allocations: 0.8185 MB / 498.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.1574, allocations: 7.984 kB / 498.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.1575, allocations: 8 kB / 498.4 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003172/0.1607, allocations: 301.8 kB / 498.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.162, allocations: 143.8 kB / 498.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0086/0.1706, allocations: 3.918 MB / 0.491 GB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.1714, allocations: 32.55 kB / 0.491 GB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/0.1714, allocations: 24 kB / 0.491 GB, free: 9.367 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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: 2 * 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: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004211/0.1719, allocations: 229.6 kB / 0.4912 GB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.172, allocations: 39.53 kB / 0.4913 GB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.1733, allocations: 496.8 kB / 0.4917 GB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.1733, allocations: 4 kB / 0.4917 GB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1733, allocations: 0 / 0.4917 GB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.1734, allocations: 11.94 kB / 0.4918 GB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/0.1758, allocations: 1.034 MB / 0.4928 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.1758, allocations: 4 kB / 0.4928 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009119/0.1767, allocations: 87.88 kB / 0.4929 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.1768, allocations: 4 kB / 0.4929 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.1768, allocations: 8 kB / 0.4929 GB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.1768, allocations: 8.062 kB / 0.4929 GB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.1769, allocations: 7.938 kB / 0.4929 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.1786, allocations: 0.7898 MB / 0.4936 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.1788, allocations: 108.6 kB / 0.4938 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-05/0.1789, allocations: 16.05 kB / 0.4938 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.1794, allocations: 15.98 kB / 0.4938 GB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.1795, allocations: 23.97 kB / 0.4938 GB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.1795, allocations: 8 kB / 0.4938 GB, free: 6.348 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004612/0.18, allocations: 267.1 kB / 0.4941 GB, free: 6.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.18, allocations: 0 / 0.4941 GB, free: 6.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008161/0.1808, allocations: 124 kB / 0.4942 GB, free: 5.969 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (39): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002214/0.1831, allocations: 1.539 MB / 0.4957 GB, free: 4.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002556/0.1857, allocations: 0.7945 MB / 0.4965 GB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.1857, allocations: 0 / 0.4965 GB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.1862, allocations: 204.8 kB / 0.4967 GB, free: 3.363 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.187, allocations: 81.98 kB / 0.4967 GB, free: 3.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.1986, allocations: 7.651 MB / 0.5042 GB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/0.1994, allocations: 0.9135 MB / 0.5051 GB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.1998, allocations: 171.4 kB / 0.5053 GB, free: 10.33 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1999, allocations: 0 / 0.5053 GB, free: 10.33 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.75/2.95, allocations: 9.941 MB / 0.515 GB, free: 388 kB / 362.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)