Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_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.3+maint.om/package.mo): time 0.0009855/0.0009856, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.222/1.222, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0008175/0.0008175, allocations: 95.27 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1565/0.1565, allocations: 38.07 MB / 357.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002628, allocations: 8 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2334, allocations: 56.32 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.3521, allocations: 104.6 MB / 0.5713 GB, free: 13.76 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.3524, allocations: 91.95 kB / 0.5714 GB, free: 13.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04525/0.3977, allocations: 17.49 MB / 0.5885 GB, free: 11.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3977, allocations: 0 / 0.5885 GB, free: 11.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.681e-05/0.3977, allocations: 12 kB / 0.5885 GB, free: 11.98 MB / 426.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.001423/0.3992, allocations: 0.8555 MB / 0.5893 GB, free: 11.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3992, allocations: 8.031 kB / 0.5894 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.3993, allocations: 102.5 kB / 0.5895 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009652/0.4003, allocations: 155 kB / 0.5896 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.4033, allocations: 1.209 MB / 0.5908 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.4033, allocations: 36.98 kB / 0.5908 GB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.4034, allocations: 51.91 kB / 0.5909 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4045, allocations: 0.8549 MB / 0.5917 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.4046, allocations: 7.953 kB / 0.5917 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/0.4047, allocations: 16 kB / 0.5917 GB, free: 8.516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/0.4048, allocations: 28.98 kB / 0.5918 GB, free: 8.488 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008101/0.4056, allocations: 0.601 MB / 0.5923 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.4164, allocations: 5.799 MB / 0.598 GB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009802/0.4174, allocations: 0.7607 MB / 0.5987 GB, free: 1.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.4175, allocations: 8.484 kB / 0.5988 GB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4175, allocations: 39 kB / 0.5988 GB, free: 1.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 2.565e-06/0.4175, allocations: 0 / 0.5988 GB, free: 1.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.01856/0.4361, allocations: 6.486 MB / 0.6051 GB, free: 10.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.4361, allocations: 81.55 kB / 0.6052 GB, free: 10.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.4366, allocations: 360.9 kB / 0.6055 GB, free: 10.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.4367, allocations: 33.73 kB / 0.6056 GB, free: 10.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.4369, allocations: 323.8 kB / 0.6059 GB, free: 9.684 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.4372, allocations: 261 kB / 0.6061 GB, free: 9.426 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.4372, allocations: 12 kB / 0.6061 GB, free: 9.414 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4374, allocations: 366.8 kB / 0.6065 GB, free: 9.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009869/0.4384, allocations: 0.7981 MB / 0.6073 GB, free: 8.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.4395, allocations: 1.013 MB / 0.6083 GB, free: 7.152 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.4406, allocations: 0.901 MB / 0.6091 GB, free: 6.254 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4406, allocations: 0 / 0.6091 GB, free: 6.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01562/0.4562, allocations: 5.391 MB / 0.6144 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.4563, allocations: 8.594 kB / 0.6144 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01169/0.468, allocations: 4.267 MB / 0.6186 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0173/0.4853, allocations: 5.846 MB / 0.6243 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.4858, allocations: 115.8 kB / 0.6244 GB, free: 6.586 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.5015, allocations: 11.72 MB / 0.6358 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006671/0.5022, allocations: 59.94 kB / 0.6359 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.5024, allocations: 171.9 kB / 0.6361 GB, free: 10.51 MB / 474.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.0004613/0.5029, allocations: 257.5 kB / 0.6363 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.5031, allocations: 47.44 kB / 0.6364 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/0.5159, allocations: 4.08 MB / 0.6403 GB, free: 6.098 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/0.516, allocations: 8 kB / 0.6403 GB, free: 6.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.516, allocations: 4 kB / 0.6404 GB, free: 6.086 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.516, allocations: 0 / 0.6404 GB, free: 6.086 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.5319, allocations: 5.489 MB / 0.6457 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.532, allocations: 0 / 0.6457 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.5323, allocations: 63.98 kB / 0.6458 GB, free: 468 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1881/0.7204, allocations: 7.966 MB / 0.6536 GB, free: 140.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003956/0.7208, allocations: 243.3 kB / 0.6538 GB, free: 140.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/0.7373, allocations: 14.65 MB / 0.6681 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7374, allocations: 0 / 0.6681 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.7498, allocations: 4.54 MB / 0.6725 GB, free: 136.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.7501, allocations: 129 kB / 0.6727 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/0.7504, allocations: 188.3 kB / 0.6728 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005893/0.751, allocations: 47.03 kB / 0.6729 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005053/0.7516, allocations: 146.3 kB / 0.673 GB, free: 135.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/0.7518, allocations: 165.2 kB / 0.6732 GB, free: 135.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002677/0.752, allocations: 276.8 kB / 0.6734 GB, free: 135.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.752, allocations: 0 / 0.6734 GB, free: 135.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001468/0.7535, allocations: 384.3 kB / 0.6738 GB, free: 135.8 MB / 474.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.01219/0.7657, allocations: 5.42 MB / 0.6791 GB, free: 133.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003748/0.7695, allocations: 2.423 MB / 0.6815 GB, free: 132.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7695, allocations: 0.5625 kB / 0.6815 GB, free: 132.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002872/0.7724, allocations: 1.589 MB / 0.683 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.773, allocations: 109.3 kB / 0.6831 GB, free: 132.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01776/0.7908, allocations: 15.33 MB / 0.6981 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.7911, allocations: 0.9848 MB / 0.699 GB, free: 120.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.7915, allocations: 144 kB / 0.6992 GB, free: 120.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.7917, allocations: 209.1 kB / 0.6994 GB, free: 120.2 MB / 474.7 MB Notification: Performance of SimCode: time 6.92e-07/0.7917, allocations: 0 / 0.6994 GB, free: 120.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05992/0.8517, allocations: 39.49 MB / 0.738 GB, free: 80.98 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.8519, allocations: 218.5 kB / 0.7382 GB, free: 80.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/3.217, allocations: 0 / 0.7382 GB, free: 80.73 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)