Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001191/0.001191, allocations: 179.6 kB / 8.35 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.747/1.747, allocations: 194.4 MB / 203.1 MB, free: 12.96 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001811/0.001811, allocations: 129.8 kB / 248.1 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1683/0.1683, allocations: 37.93 MB / 330.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.197e-05, allocations: 3.938 kB / 390.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 53.22 MB / 443.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4505/0.7727, allocations: 98.82 MB / 0.5298 GB, free: 35.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.773, allocations: 87.62 kB / 0.5299 GB, free: 35.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04812/0.8211, allocations: 17.3 MB / 0.5468 GB, free: 33.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.8212, allocations: 3.875 kB / 0.5468 GB, free: 33.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.8212, allocations: 15.53 kB / 0.5468 GB, free: 33.54 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001432/0.8227, allocations: 0.7795 MB / 0.5476 GB, free: 33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.8227, allocations: 11.44 kB / 0.5476 GB, free: 33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.8238, allocations: 144.1 kB / 0.5477 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.8269, allocations: 1.196 MB / 0.5489 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.8269, allocations: 11.72 kB / 0.5489 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.8271, allocations: 39.16 kB / 0.5489 GB, free: 32.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009388/0.828, allocations: 0.5132 MB / 0.5494 GB, free: 32.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.8291, allocations: 0.7811 MB / 0.5502 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.8291, allocations: 5.531 kB / 0.5502 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.8292, allocations: 8.828 kB / 0.5502 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.8294, allocations: 25.28 kB / 0.5502 GB, free: 32.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.8397, allocations: 5.673 MB / 0.5558 GB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/0.8405, allocations: 0.7337 MB / 0.5565 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/0.8411, allocations: 0.6258 MB / 0.5571 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.307e-05/0.8412, allocations: 11.91 kB / 0.5571 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.8412, allocations: 47.39 kB / 0.5571 GB, free: 30.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.316e-06/0.8412, allocations: 0 / 0.5571 GB, free: 30.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.01436/0.8556, allocations: 5.238 MB / 0.5623 GB, free: 29.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.8557, allocations: 81.52 kB / 0.5623 GB, free: 29.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.8561, allocations: 330.4 kB / 0.5627 GB, free: 29.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.8563, allocations: 29.64 kB / 0.5627 GB, free: 29.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.8564, allocations: 321.4 kB / 0.563 GB, free: 29.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.8567, allocations: 251.8 kB / 0.5632 GB, free: 29.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.8568, allocations: 7.969 kB / 0.5632 GB, free: 29.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.8569, allocations: 372.3 kB / 0.5636 GB, free: 28.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008381/0.8577, allocations: 0.7767 MB / 0.5643 GB, free: 28.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008642/0.8586, allocations: 0.9803 MB / 0.5653 GB, free: 28.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009896/0.8596, allocations: 0.8798 MB / 0.5662 GB, free: 28.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8596, allocations: 3.969 kB / 0.5662 GB, free: 28.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01506/0.8746, allocations: 5.297 MB / 0.5713 GB, free: 28.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.8747, allocations: 11.81 kB / 0.5714 GB, free: 28.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01104/0.8858, allocations: 4.203 MB / 0.5755 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01652/0.9023, allocations: 5.786 MB / 0.5811 GB, free: 26.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.903, allocations: 121 kB / 0.5812 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/0.9174, allocations: 10.44 MB / 0.5914 GB, free: 23.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008737/0.9183, allocations: 46.67 kB / 0.5915 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.9185, allocations: 163.3 kB / 0.5916 GB, free: 23.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.000291/0.9188, allocations: 131.7 kB / 0.5917 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01214/0.9309, allocations: 3.851 MB / 0.5955 GB, free: 20.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.9313, allocations: 51.47 kB / 0.5956 GB, free: 20.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.9439, allocations: 4.017 MB / 0.5995 GB, free: 16.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.04e-05/0.944, allocations: 11.98 kB / 0.5995 GB, free: 16.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.944, allocations: 4 kB / 0.5995 GB, free: 16.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.743e-05/0.9441, allocations: 0 / 0.5995 GB, free: 16.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.9592, allocations: 5.343 MB / 0.6047 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.9593, allocations: 4 kB / 0.6047 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.9596, allocations: 59.89 kB / 0.6048 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02292/0.9826, allocations: 7.861 MB / 0.6124 GB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004043/0.983, allocations: 231.8 kB / 0.6127 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01777/1.001, allocations: 13.37 MB / 0.6257 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/1.001, allocations: 0 / 0.6257 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01453/1.015, allocations: 4.472 MB / 0.6301 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/1.016, allocations: 132.4 kB / 0.6302 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/1.016, allocations: 183.9 kB / 0.6304 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/1.017, allocations: 35.94 kB / 0.6304 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006895/1.017, allocations: 144.2 kB / 0.6306 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000246/1.018, allocations: 171.7 kB / 0.6307 GB, free: 15.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003609/1.018, allocations: 239 kB / 0.631 GB, free: 15.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.018, allocations: 0 / 0.631 GB, free: 15.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00178/1.02, allocations: 380 kB / 0.6313 GB, free: 15.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0148/1.035, allocations: 5.347 MB / 0.6365 GB, free: 9.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004951/1.04, allocations: 2.328 MB / 0.6388 GB, free: 7.391 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.04, allocations: 0 / 0.6388 GB, free: 7.391 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003565/1.043, allocations: 1.534 MB / 0.6403 GB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008358/1.044, allocations: 107.5 kB / 0.6404 GB, free: 5.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006246/1.05, allocations: 3.496 MB / 0.6438 GB, free: 2.184 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006975/1.051, allocations: 0.9852 MB / 0.6448 GB, free: 1.172 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004629/1.052, allocations: 140.8 kB / 0.6449 GB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/1.052, allocations: 215.3 kB / 0.6451 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/1.052, allocations: 0 / 0.6451 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07437/1.126, allocations: 37.98 MB / 0.6822 GB, free: 10.78 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.127, allocations: 135.4 kB / 0.6824 GB, free: 10.58 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/3.816, allocations: 0 / 0.6824 GB, free: 10.58 MB / 458.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)