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.001933/0.001933, allocations: 182 kB / 13.64 MB, free: 1.676 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.846/1.846, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001902/0.001902, allocations: 116.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1962/0.1962, allocations: 37.9 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.386e-05/4.401e-05, allocations: 4 kB / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.37, allocations: 53.21 MB / 450.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.8062, allocations: 99.49 MB / 0.5374 GB, free: 88.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/0.8067, allocations: 92.81 kB / 0.5375 GB, free: 88.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0439/0.8506, allocations: 17.44 MB / 0.5546 GB, free: 74.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8506, allocations: 11.94 kB / 0.5546 GB, free: 74.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.8507, allocations: 12 kB / 0.5546 GB, free: 74.37 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.001567/0.8523, allocations: 0.7736 MB / 0.5553 GB, free: 73.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/0.8523, allocations: 8.031 kB / 0.5553 GB, free: 73.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.8525, allocations: 102.5 kB / 0.5554 GB, free: 73.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.8537, allocations: 143.1 kB / 0.5556 GB, free: 73.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.8566, allocations: 1.206 MB / 0.5568 GB, free: 72.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.8567, allocations: 36.98 kB / 0.5568 GB, free: 72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.8568, allocations: 51.91 kB / 0.5568 GB, free: 71.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.8579, allocations: 0.8505 MB / 0.5577 GB, free: 71.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.8579, allocations: 3.938 kB / 0.5577 GB, free: 71.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/0.858, allocations: 20 kB / 0.5577 GB, free: 71.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/0.8581, allocations: 28.78 kB / 0.5577 GB, free: 70.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007474/0.8589, allocations: 0.5848 MB / 0.5583 GB, free: 70.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009661/0.8686, allocations: 5.772 MB / 0.5639 GB, free: 64.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000959/0.8696, allocations: 0.7608 MB / 0.5647 GB, free: 63.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.8703, allocations: 0.6435 MB / 0.5653 GB, free: 63.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.748e-05/0.8703, allocations: 12.41 kB / 0.5653 GB, free: 63.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.8704, allocations: 39 kB / 0.5654 GB, free: 62.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.727e-06/0.8704, allocations: 4 kB / 0.5654 GB, free: 62.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.01434/0.8847, allocations: 5.311 MB / 0.5705 GB, free: 57.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.8848, allocations: 85.55 kB / 0.5706 GB, free: 57.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004401/0.8853, allocations: 355 kB / 0.571 GB, free: 57.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.8855, allocations: 33.7 kB / 0.571 GB, free: 57.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.8856, allocations: 315.9 kB / 0.5713 GB, free: 56.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.8859, allocations: 264.9 kB / 0.5716 GB, free: 56.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.886, allocations: 15.94 kB / 0.5716 GB, free: 56.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.886, allocations: 370.8 kB / 0.5719 GB, free: 56.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008948/0.887, allocations: 0.7905 MB / 0.5727 GB, free: 55.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009656/0.8879, allocations: 0.9943 MB / 0.5737 GB, free: 54.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.889, allocations: 0.9036 MB / 0.5745 GB, free: 53.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.889, allocations: 0 / 0.5745 GB, free: 53.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01504/0.9041, allocations: 5.365 MB / 0.5798 GB, free: 47.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.9042, allocations: 8 kB / 0.5798 GB, free: 47.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01117/0.9153, allocations: 4.25 MB / 0.5839 GB, free: 43.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0166/0.932, allocations: 5.839 MB / 0.5896 GB, free: 37.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.9326, allocations: 111.8 kB / 0.5898 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.9474, allocations: 10.96 MB / 0.6005 GB, free: 26.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008044/0.9482, allocations: 59.92 kB / 0.6005 GB, free: 26.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/0.9485, allocations: 167.9 kB / 0.6007 GB, free: 26.44 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.0003577/0.9489, allocations: 145.5 kB / 0.6008 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.9491, allocations: 51.34 kB / 0.6009 GB, free: 26.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/0.9615, allocations: 4.06 MB / 0.6048 GB, free: 22.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/0.9616, allocations: 12 kB / 0.6048 GB, free: 22.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.9616, allocations: 0 / 0.6048 GB, free: 22.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.9616, allocations: 7.984 kB / 0.6048 GB, free: 22.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.9763, allocations: 5.469 MB / 0.6102 GB, free: 16.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.9764, allocations: 7.984 kB / 0.6102 GB, free: 16.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.9767, allocations: 56.06 kB / 0.6102 GB, free: 16.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02332/1, allocations: 7.962 MB / 0.618 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004013/1.001, allocations: 235.8 kB / 0.6182 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01662/1.017, allocations: 13.65 MB / 0.6316 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.017, allocations: 0 / 0.6316 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/1.031, allocations: 4.523 MB / 0.636 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/1.032, allocations: 140.3 kB / 0.6361 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004897/1.032, allocations: 187.9 kB / 0.6363 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/1.033, allocations: 43.94 kB / 0.6363 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008042/1.034, allocations: 136.2 kB / 0.6365 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003275/1.034, allocations: 175.9 kB / 0.6366 GB, free: 5.133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004952/1.035, allocations: 269.2 kB / 0.6369 GB, free: 4.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.035, allocations: 0 / 0.6369 GB, free: 4.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002425/1.037, allocations: 380 kB / 0.6373 GB, free: 4.5 MB / 394.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.01541/1.053, allocations: 5.401 MB / 0.6425 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005702/1.058, allocations: 2.389 MB / 0.6449 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.058, allocations: 0 / 0.6449 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003804/1.062, allocations: 1.578 MB / 0.6464 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008957/1.063, allocations: 117.4 kB / 0.6465 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006599/1.07, allocations: 3.534 MB / 0.65 GB, free: 7.297 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/1.071, allocations: 0.9935 MB / 0.6509 GB, free: 6.277 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004998/1.071, allocations: 144.9 kB / 0.6511 GB, free: 6.133 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/1.071, allocations: 207.4 kB / 0.6513 GB, free: 5.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.071, allocations: 0 / 0.6513 GB, free: 5.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07523/1.147, allocations: 39.3 MB / 0.6897 GB, free: 14.57 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.147, allocations: 177 kB / 0.6898 GB, free: 14.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.949, allocations: 0 / 0.6898 GB, free: 14.34 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)