Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",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.00117/0.001169, allocations: 103.7 kB / 17.06 MB, free: 6.129 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.001082/0.001082, allocations: 195 kB / 18 MB, free: 5.203 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.298/1.298, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1753/0.1753, allocations: 37.98 MB / 309.2 MB, free: 5.953 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.001477/0.001477, allocations: 67.89 kB / 431.4 MB, free: 16.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1078, allocations: 55.24 MB / 486.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.009142/0.117, allocations: 4.482 MB / 491.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.1207, allocations: 1.575 MB / 492.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005961/0.1213, allocations: 11.94 kB / 492.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.1226, allocations: 291.2 kB / 493 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008928/0.1235, allocations: 258.7 kB / 493.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008619/0.1244, allocations: 263.4 kB / 493.5 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.1255, allocations: 0.6351 MB / 494.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006309/0.1261, allocations: 284.9 kB / 494.4 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005994/0.1267, allocations: 290.9 kB / 494.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000847/0.1276, allocations: 390.8 kB / 495.1 MB, free: 376 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.1277, allocations: 44 kB / 495.1 MB, free: 332 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003679/0.1281, allocations: 155.7 kB / 495.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.1284, allocations: 239.4 kB / 495.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.1288, allocations: 274.7 kB / 495.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009413/0.1298, allocations: 0.6619 MB / 496.4 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1298, allocations: 0 / 496.4 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1298, allocations: 4 kB / 496.4 MB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.1299, allocations: 0 / 496.4 MB, free: 15 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002342/0.1322, allocations: 0.8827 MB / 497.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1323, allocations: 11.89 kB / 497.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.1324, allocations: 82.66 kB / 497.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000578/0.133, allocations: 100.1 kB / 497.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009901/0.134, allocations: 499.9 kB / 498 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.134, allocations: 29.38 kB / 498 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.1342, allocations: 59.83 kB / 498.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.1353, allocations: 0.684 MB / 498.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.1353, allocations: 0 / 498.7 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.1354, allocations: 20 kB / 498.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.1355, allocations: 44.92 kB / 498.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008653/0.1364, allocations: 0.5228 MB / 499.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004684/0.1411, allocations: 3.09 MB / 0.4906 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.1417, allocations: 333.1 kB / 0.491 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.142, allocations: 177.7 kB / 0.4911 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.142, allocations: 7.984 kB / 0.4911 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1421, allocations: 30.56 kB / 0.4912 GB, free: 8.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.1421, allocations: 4 kB / 0.4912 GB, free: 8.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002038/0.1441, allocations: 1.216 MB / 0.4924 GB, free: 6.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.1442, allocations: 77.11 kB / 0.4924 GB, free: 6.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.1447, allocations: 397.5 kB / 0.4928 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.1447, allocations: 33.7 kB / 0.4928 GB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.1449, allocations: 303.1 kB / 0.4931 GB, free: 6.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.997e-05/0.145, allocations: 114.6 kB / 0.4932 GB, free: 5.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.1452, allocations: 98.16 kB / 0.4933 GB, free: 5.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1454, allocations: 362.7 kB / 0.4937 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.1457, allocations: 185 kB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.1462, allocations: 386.6 kB / 0.4942 GB, free: 4.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007873/0.147, allocations: 0.6009 MB / 0.4948 GB, free: 4.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.147, allocations: 0 / 0.4948 GB, free: 4.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001958/0.1489, allocations: 0.8264 MB / 0.4956 GB, free: 3.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.149, allocations: 8 kB / 0.4956 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.149, allocations: 4 kB / 0.4956 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.1503, allocations: 269.3 kB / 0.4959 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.151, allocations: 143.9 kB / 0.496 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.1563, allocations: 4.056 MB / 0.5 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.1568, allocations: 31.89 kB / 0.5 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.1568, allocations: 27.98 kB / 0.5 GB, free: 14.42 MB / 398.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003247/0.1572, allocations: 217.6 kB / 0.5003 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1573, allocations: 35.53 kB / 0.5003 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009133/0.1582, allocations: 493.1 kB / 0.5008 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.1583, allocations: 7.938 kB / 0.5008 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1583, allocations: 0 / 0.5008 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.183e-05/0.1583, allocations: 7.984 kB / 0.5008 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.1601, allocations: 1.011 MB / 0.5018 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.1601, allocations: 8 kB / 0.5018 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/0.1607, allocations: 83.89 kB / 0.5018 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.1607, allocations: 4 kB / 0.5019 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.1608, allocations: 11.98 kB / 0.5019 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-06/0.1608, allocations: 4 kB / 0.5019 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1608, allocations: 0 / 0.5019 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.162, allocations: 0.7435 MB / 0.5026 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.1622, allocations: 124.4 kB / 0.5027 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.1623, allocations: 16.06 kB / 0.5027 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.1625, allocations: 15.97 kB / 0.5027 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.1626, allocations: 23.97 kB / 0.5028 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.1626, allocations: 8.188 kB / 0.5028 GB, free: 11.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003015/0.1629, allocations: 271.1 kB / 0.503 GB, free: 11.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1629, allocations: 4 kB / 0.503 GB, free: 11.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006404/0.1636, allocations: 120 kB / 0.5032 GB, free: 11.12 MB / 398.1 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 (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.1649, allocations: 1.299 MB / 0.5044 GB, free: 9.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.1665, allocations: 0.7953 MB / 0.5052 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1665, allocations: 0 / 0.5052 GB, free: 8.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.1668, allocations: 203.8 kB / 0.5054 GB, free: 8.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006184/0.1675, allocations: 81.94 kB / 0.5055 GB, free: 8.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/0.1766, allocations: 5.307 MB / 0.5107 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.1772, allocations: 0.8976 MB / 0.5115 GB, free: 2.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003645/0.1776, allocations: 131.3 kB / 0.5117 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.1779, allocations: 175.4 kB / 0.5118 GB, free: 1.863 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1779, allocations: 0 / 0.5118 GB, free: 1.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/0.2192, allocations: 10.82 MB / 0.5224 GB, free: 6.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/12.99, allocations: 11.81 kB / 0.5224 GB, free: 6.973 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)