Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load",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.002153/0.002152, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001097, allocations: 98.3 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2542/0.2542, allocations: 37.99 MB / 347.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.757e-05, allocations: 4 kB / 409.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 56.33 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.6017, allocations: 101.5 MB / 0.5544 GB, free: 9.266 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.6021, allocations: 92.69 kB / 0.5545 GB, free: 9.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05903/0.6611, allocations: 13.6 MB / 0.5678 GB, free: 14.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.6612, allocations: 4 kB / 0.5678 GB, free: 14.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.837e-05/0.6612, allocations: 8 kB / 0.5678 GB, free: 14.5 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002191/0.6634, allocations: 0.7226 MB / 0.5685 GB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.6635, allocations: 8.031 kB / 0.5685 GB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000849/0.6643, allocations: 91.3 kB / 0.5686 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.6682, allocations: 0.9282 MB / 0.5695 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.6683, allocations: 12 kB / 0.5695 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.6685, allocations: 27.91 kB / 0.5696 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001107/0.6696, allocations: 432.3 kB / 0.57 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.6709, allocations: 0.6104 MB / 0.5706 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/0.6709, allocations: 7.297 kB / 0.5706 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/0.671, allocations: 4 kB / 0.5706 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.6711, allocations: 32.72 kB / 0.5706 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005659/0.6768, allocations: 2.951 MB / 0.5735 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008066/0.6776, allocations: 320.3 kB / 0.5738 GB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.678, allocations: 190.9 kB / 0.574 GB, free: 8.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.002e-05/0.6781, allocations: 11.97 kB / 0.574 GB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.6782, allocations: 41.92 kB / 0.574 GB, free: 8.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.336e-06/0.6782, allocations: 0 / 0.574 GB, free: 8.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002779/0.681, allocations: 1.107 MB / 0.5751 GB, free: 7.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.6811, allocations: 88.98 kB / 0.5752 GB, free: 7.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.6816, allocations: 316.4 kB / 0.5755 GB, free: 7.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.6816, allocations: 25.7 kB / 0.5755 GB, free: 7.379 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.6819, allocations: 337 kB / 0.5758 GB, free: 7.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.6821, allocations: 123.9 kB / 0.576 GB, free: 6.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.6821, allocations: 0 / 0.576 GB, free: 6.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6823, allocations: 342.6 kB / 0.5763 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.6827, allocations: 189.8 kB / 0.5765 GB, free: 6.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.6833, allocations: 354.8 kB / 0.5768 GB, free: 6.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.684, allocations: 263 kB / 0.5771 GB, free: 5.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.684, allocations: 0 / 0.5771 GB, free: 5.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003526/0.6875, allocations: 0.7861 MB / 0.5778 GB, free: 5.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.6876, allocations: 15.97 kB / 0.5778 GB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.6876, allocations: 4 kB / 0.5778 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/0.6906, allocations: 284.2 kB / 0.5781 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.6919, allocations: 143.6 kB / 0.5782 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0073/0.6992, allocations: 3.616 MB / 0.5818 GB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006722/0.7, allocations: 27.83 kB / 0.5818 GB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.7, allocations: 26.98 kB / 0.5818 GB, free: 1.402 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.7002, allocations: 120.9 kB / 0.5819 GB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001097/0.7013, allocations: 432 kB / 0.5824 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.7015, allocations: 39.53 kB / 0.5824 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.7028, allocations: 0.4969 MB / 0.5829 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.7029, allocations: 11.98 kB / 0.5829 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7029, allocations: 7.984 kB / 0.5829 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.7029, allocations: 0 / 0.5829 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.7052, allocations: 0.9978 MB / 0.5839 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.7053, allocations: 0 / 0.5839 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009244/0.7062, allocations: 91.25 kB / 0.584 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.7062, allocations: 7.953 kB / 0.584 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.7063, allocations: 11.5 kB / 0.584 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.7063, allocations: 7.938 kB / 0.584 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7063, allocations: 4.125 kB / 0.584 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.708, allocations: 0.8405 MB / 0.5848 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.7082, allocations: 119 kB / 0.5849 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.657e-05/0.7083, allocations: 4 kB / 0.5849 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.7088, allocations: 16.06 kB / 0.5849 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.7089, allocations: 27.16 kB / 0.585 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.7089, allocations: 14.98 kB / 0.585 GB, free: 14.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003765/0.7093, allocations: 241.1 kB / 0.5852 GB, free: 14.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7093, allocations: 0 / 0.5852 GB, free: 14.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008844/0.7102, allocations: 135.7 kB / 0.5853 GB, free: 14.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002165/0.7124, allocations: 1.597 MB / 0.5869 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.7148, allocations: 0.7755 MB / 0.5877 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.7149, allocations: 4 kB / 0.5877 GB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.7154, allocations: 227.5 kB / 0.5879 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.7161, allocations: 64.25 kB / 0.5879 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.7194, allocations: 1.217 MB / 0.5891 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.7201, allocations: 0.9145 MB / 0.59 GB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.7206, allocations: 168.5 kB / 0.5902 GB, free: 9.922 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7206, allocations: 4 kB / 0.5902 GB, free: 9.918 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.009/3.73, allocations: 10.12 MB / 0.6001 GB, free: 15.88 MB / 410.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)