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.001219/0.001219, allocations: 180.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.324/1.324, allocations: 194.5 MB / 211.6 MB, free: 2.965 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.001564/0.001564, allocations: 112.8 kB / 256.9 MB, free: 4.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.158/0.158, allocations: 37.99 MB / 340.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09106, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4202, allocations: 99.58 MB / 0.5436 GB, free: 11.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.4206, allocations: 88.2 kB / 0.5437 GB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04563/0.4662, allocations: 17.47 MB / 0.5608 GB, free: 12.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4663, allocations: 0 / 0.5608 GB, free: 12.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.05e-05/0.4663, allocations: 16 kB / 0.5608 GB, free: 12.81 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.001526/0.4679, allocations: 0.8554 MB / 0.5616 GB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.4679, allocations: 12.02 kB / 0.5617 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.468, allocations: 103.1 kB / 0.5617 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.4691, allocations: 139.1 kB / 0.5619 GB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.472, allocations: 1.215 MB / 0.5631 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.4721, allocations: 42.17 kB / 0.5631 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.4722, allocations: 50.47 kB / 0.5632 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.4735, allocations: 0.8506 MB / 0.564 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.4735, allocations: 15.88 kB / 0.564 GB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.17e-05/0.4736, allocations: 18.06 kB / 0.564 GB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/0.4737, allocations: 28.98 kB / 0.564 GB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008099/0.4746, allocations: 0.5978 MB / 0.5646 GB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.4853, allocations: 5.785 MB / 0.5703 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009487/0.4863, allocations: 0.7699 MB / 0.571 GB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.767e-05/0.4864, allocations: 12.48 kB / 0.571 GB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.4864, allocations: 45.31 kB / 0.5711 GB, free: 3.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.567e-06/0.4864, allocations: 0 / 0.5711 GB, free: 3.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.01964/0.506, allocations: 6.484 MB / 0.5774 GB, free: 14.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.5062, allocations: 89.47 kB / 0.5775 GB, free: 14.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004801/0.5066, allocations: 355.5 kB / 0.5778 GB, free: 14.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.5069, allocations: 33.27 kB / 0.5779 GB, free: 14.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.5071, allocations: 312.1 kB / 0.5782 GB, free: 13.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.5073, allocations: 262.8 kB / 0.5784 GB, free: 13.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.5074, allocations: 17.36 kB / 0.5784 GB, free: 13.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5076, allocations: 373.8 kB / 0.5788 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.5086, allocations: 0.7965 MB / 0.5796 GB, free: 12.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.5097, allocations: 1.007 MB / 0.5806 GB, free: 11.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.5108, allocations: 0.8973 MB / 0.5814 GB, free: 11.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5108, allocations: 0 / 0.5814 GB, free: 11.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01587/0.5267, allocations: 5.387 MB / 0.5867 GB, free: 6.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.5268, allocations: 8 kB / 0.5867 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01193/0.5387, allocations: 4.263 MB / 0.5909 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01772/0.5565, allocations: 5.846 MB / 0.5966 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.5571, allocations: 119.8 kB / 0.5967 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/0.5734, allocations: 11.72 MB / 0.6081 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.5741, allocations: 67.83 kB / 0.6082 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.5743, allocations: 159.9 kB / 0.6083 GB, free: 0.5156 MB / 410.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 () * Number of clocked 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.0004719/0.5748, allocations: 253.6 kB / 0.6086 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.5749, allocations: 51.44 kB / 0.6086 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/0.5877, allocations: 4.068 MB / 0.6126 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/0.5878, allocations: 12 kB / 0.6126 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.5878, allocations: 4 kB / 0.6126 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.5878, allocations: 3.984 kB / 0.6126 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.6038, allocations: 5.492 MB / 0.618 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.6039, allocations: 0 / 0.618 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.6042, allocations: 59.89 kB / 0.6181 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02484/0.6291, allocations: 7.974 MB / 0.6258 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004281/0.6296, allocations: 235.8 kB / 0.6261 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01821/0.6478, allocations: 14.65 MB / 0.6404 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.6478, allocations: 3.938 kB / 0.6404 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.6611, allocations: 4.55 MB / 0.6448 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.6613, allocations: 128.5 kB / 0.6449 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.6617, allocations: 187.9 kB / 0.6451 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.6622, allocations: 47.92 kB / 0.6452 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004801/0.6627, allocations: 140.2 kB / 0.6453 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/0.6629, allocations: 171.9 kB / 0.6455 GB, free: 10.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003247/0.6632, allocations: 275.1 kB / 0.6457 GB, free: 9.766 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6632, allocations: 0 / 0.6457 GB, free: 9.766 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001566/0.6648, allocations: 380 kB / 0.6461 GB, free: 9.395 MB / 458.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 () * Number of clocked 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.01419/0.679, allocations: 5.417 MB / 0.6514 GB, free: 3.906 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004782/0.6838, allocations: 2.417 MB / 0.6537 GB, free: 1.453 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6838, allocations: 0.5625 kB / 0.6537 GB, free: 1.453 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003382/0.6872, allocations: 1.607 MB / 0.6553 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.6879, allocations: 105.5 kB / 0.6554 GB, free: 15.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/0.7106, allocations: 15.33 MB / 0.6704 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1763/0.8869, allocations: 0.9742 MB / 0.6713 GB, free: 156.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005566/0.8875, allocations: 146.8 kB / 0.6715 GB, free: 156.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.8879, allocations: 209.5 kB / 0.6717 GB, free: 156.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/0.8879, allocations: 0 / 0.6717 GB, free: 156.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05718/0.9451, allocations: 39.47 MB / 0.7102 GB, free: 142.9 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.9453, allocations: 206.2 kB / 0.7104 GB, free: 142.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/3.482, allocations: 0 / 0.7104 GB, free: 142.7 MB / 474.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)