Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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_cpp_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_cpp_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.002223/0.002223, allocations: 186.1 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.001128/0.001128, allocations: 91.75 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2752/0.2752, allocations: 37.96 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.492e-05, allocations: 4 kB / 416.9 MB, free: 41.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 56.32 MB / 473.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.5872, allocations: 104.5 MB / 0.5642 GB, free: 15.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5875, allocations: 87.95 kB / 0.5643 GB, free: 15.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07886/0.6664, allocations: 17.46 MB / 0.5813 GB, free: 13.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6664, allocations: 0 / 0.5813 GB, free: 13.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.796e-05/0.6665, allocations: 16 kB / 0.5814 GB, free: 13.39 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.002288/0.6688, allocations: 0.781 MB / 0.5821 GB, free: 12.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.6689, allocations: 12.03 kB / 0.5821 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001987/0.6691, allocations: 98.5 kB / 0.5822 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.671, allocations: 151.1 kB / 0.5824 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00534/0.6764, allocations: 1.21 MB / 0.5836 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/0.6764, allocations: 29 kB / 0.5836 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.6767, allocations: 55.98 kB / 0.5836 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.6787, allocations: 0.8389 MB / 0.5845 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.6788, allocations: 11.86 kB / 0.5845 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.6789, allocations: 20 kB / 0.5845 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003004/0.6792, allocations: 36.7 kB / 0.5845 GB, free: 9.988 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.6809, allocations: 0.5848 MB / 0.5851 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02144/0.7023, allocations: 5.772 MB / 0.5907 GB, free: 3.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.7044, allocations: 0.7453 MB / 0.5915 GB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.7059, allocations: 0.65 MB / 0.5921 GB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.7061, allocations: 16.41 kB / 0.5921 GB, free: 2.035 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.7061, allocations: 39 kB / 0.5921 GB, free: 1.988 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 5.801e-06/0.7061, allocations: 0 / 0.5921 GB, free: 1.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.03006/0.7362, allocations: 5.311 MB / 0.5973 GB, free: 12.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.7364, allocations: 89.5 kB / 0.5974 GB, free: 12.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/0.7371, allocations: 355 kB / 0.5978 GB, free: 12.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002671/0.7374, allocations: 37.73 kB / 0.5978 GB, free: 12.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.7377, allocations: 362.2 kB / 0.5981 GB, free: 11.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/0.7382, allocations: 257 kB / 0.5984 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.7384, allocations: 12 kB / 0.5984 GB, free: 11.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.7386, allocations: 350.8 kB / 0.5987 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.7407, allocations: 0.7866 MB / 0.5995 GB, free: 10.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.7431, allocations: 1.006 MB / 0.6005 GB, free: 9.266 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.7457, allocations: 0.8958 MB / 0.6014 GB, free: 8.367 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.7457, allocations: 0 / 0.6014 GB, free: 8.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0315/0.7773, allocations: 5.349 MB / 0.6066 GB, free: 2.996 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.7773, allocations: 8 kB / 0.6066 GB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02303/0.8004, allocations: 4.25 MB / 0.6107 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03556/0.836, allocations: 5.844 MB / 0.6164 GB, free: 8.875 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009425/0.837, allocations: 119.8 kB / 0.6166 GB, free: 8.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03034/0.8673, allocations: 10.95 MB / 0.6272 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.8685, allocations: 55.94 kB / 0.6273 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004003/0.8689, allocations: 167.9 kB / 0.6275 GB, free: 13.45 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 () * 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.0003879/0.8693, allocations: 149.4 kB / 0.6276 GB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.8695, allocations: 55.34 kB / 0.6277 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02637/0.8959, allocations: 4.064 MB / 0.6316 GB, free: 9.156 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.278e-05/0.896, allocations: 12 kB / 0.6316 GB, free: 9.145 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.896, allocations: 0 / 0.6316 GB, free: 9.145 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/0.8961, allocations: 7.922 kB / 0.6316 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03067/0.9268, allocations: 5.465 MB / 0.637 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.9268, allocations: 0 / 0.637 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.9274, allocations: 59.91 kB / 0.637 GB, free: 3.535 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3525/1.28, allocations: 7.961 MB / 0.6448 GB, free: 139.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006943/1.281, allocations: 236 kB / 0.645 GB, free: 139.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0315/1.312, allocations: 13.64 MB / 0.6584 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.312, allocations: 0 / 0.6584 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02739/1.34, allocations: 4.521 MB / 0.6628 GB, free: 135.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/1.34, allocations: 127.7 kB / 0.6629 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005679/1.34, allocations: 193.7 kB / 0.6631 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/1.342, allocations: 46.52 kB / 0.6631 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007541/1.342, allocations: 146 kB / 0.6633 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003031/1.343, allocations: 163.5 kB / 0.6634 GB, free: 135.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004045/1.343, allocations: 270.7 kB / 0.6637 GB, free: 135.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.343, allocations: 0.75 kB / 0.6637 GB, free: 135.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00199/1.345, allocations: 386.6 kB / 0.664 GB, free: 135.4 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 () * 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.0251/1.37, allocations: 5.403 MB / 0.6693 GB, free: 133.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00722/1.377, allocations: 2.394 MB / 0.6717 GB, free: 132.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.377, allocations: 0 / 0.6717 GB, free: 132.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005626/1.383, allocations: 1.565 MB / 0.6732 GB, free: 131.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009601/1.384, allocations: 110.4 kB / 0.6733 GB, free: 131.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008074/1.392, allocations: 3.61 MB / 0.6768 GB, free: 130.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/1.393, allocations: 0.9832 MB / 0.6778 GB, free: 129.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/1.393, allocations: 213.9 kB / 0.678 GB, free: 129.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/1.393, allocations: 0 / 0.678 GB, free: 129.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.636/5.03, allocations: 25.95 MB / 0.7033 GB, free: 110.9 MB / 474.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1)