Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007865/0.0007867, allocations: 92.75 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008774/0.0008777, allocations: 184.2 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.191/0.191, allocations: 38.05 MB / 310.1 MB, free: 5.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006825/0.0006828, allocations: 16 kB / 377.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.265, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.004096/0.2691, allocations: 4.733 MB / 438.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.2718, allocations: 1.754 MB / 440 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.2721, allocations: 19.88 kB / 440 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.2723, allocations: 59.55 kB / 440.1 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005805/0.2729, allocations: 242.9 kB / 440.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005614/0.2735, allocations: 235.6 kB / 440.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005808/0.2741, allocations: 0.8886 MB / 441.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.2747, allocations: 0.509 MB / 441.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.275, allocations: 223 kB / 442.1 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004346/0.2754, allocations: 386.7 kB / 442.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.2755, allocations: 20 kB / 442.5 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.2757, allocations: 139.7 kB / 442.7 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.2759, allocations: 227.4 kB / 442.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.2761, allocations: 268.4 kB / 443.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.2765, allocations: 0.615 MB / 443.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2765, allocations: 0 / 443.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2765, allocations: 4 kB / 443.8 MB, free: 8.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2766, allocations: 0 / 443.8 MB, free: 8.324 MB / 318.1 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.001467/0.278, allocations: 0.7971 MB / 444.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2781, allocations: 8.031 kB / 444.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000527/0.2786, allocations: 96.14 kB / 444.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007263/0.2794, allocations: 483.8 kB / 445.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2794, allocations: 29.38 kB / 445.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.2795, allocations: 56.06 kB / 445.2 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.2803, allocations: 0.6879 MB / 445.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.2803, allocations: 3.938 kB / 445.9 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.2804, allocations: 16 kB / 445.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.2805, allocations: 40.97 kB / 446 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.2811, allocations: 0.519 MB / 446.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.2838, allocations: 3.117 MB / 449.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.2843, allocations: 321.3 kB / 449.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.2845, allocations: 177.7 kB / 450.1 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.2846, allocations: 8.5 kB / 450.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2846, allocations: 42.5 kB / 450.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.2846, allocations: 0 / 450.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001545/0.2861, allocations: 1.207 MB / 451.4 MB, free: 356 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.2862, allocations: 85.09 kB / 451.4 MB, free: 252 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.2866, allocations: 389.6 kB / 451.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.2866, allocations: 33.7 kB / 451.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.2868, allocations: 303.2 kB / 452.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.287, allocations: 118.4 kB / 452.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.287, allocations: 49.69 kB / 452.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2872, allocations: 354.7 kB / 452.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.2875, allocations: 189 kB / 452.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.2879, allocations: 385.5 kB / 453.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008511/0.2888, allocations: 0.6009 MB / 453.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2888, allocations: 0 / 453.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001917/0.2907, allocations: 0.8378 MB / 454.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.2907, allocations: 8 kB / 454.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.2908, allocations: 4 kB / 454.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.292, allocations: 265.5 kB / 454.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.2926, allocations: 143.8 kB / 455.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004323/0.297, allocations: 3.75 MB / 458.8 MB, free: 8.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.2974, allocations: 28.06 kB / 458.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.2974, allocations: 27.94 kB / 458.9 MB, free: 8.305 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003087/0.2978, allocations: 221.5 kB / 459.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.2978, allocations: 43.52 kB / 459.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007247/0.2986, allocations: 481.1 kB / 459.6 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2986, allocations: 11.98 kB / 459.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2986, allocations: 3.938 kB / 459.6 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2986, allocations: 0 / 459.6 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.2999, allocations: 1.015 MB / 460.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.3, allocations: 8.062 kB / 460.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.3004, allocations: 87.88 kB / 460.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3004, allocations: 0 / 460.7 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/0.3004, allocations: 12 kB / 460.7 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3005, allocations: 0 / 460.7 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.3005, allocations: 7.938 kB / 460.8 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009072/0.3014, allocations: 0.7393 MB / 461.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.3015, allocations: 124.6 kB / 461.6 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.3015, allocations: 8 kB / 461.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.3018, allocations: 15.98 kB / 461.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.3018, allocations: 27.91 kB / 461.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.3019, allocations: 12 kB / 461.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002644/0.3022, allocations: 271.1 kB / 461.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3022, allocations: 4 kB / 461.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000552/0.3027, allocations: 120 kB / 462.1 MB, free: 4.996 MB / 334.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001676/0.3029, allocations: 111.2 kB / 462.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.3044, allocations: 0.7948 MB / 463 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3044, allocations: 0 / 463 MB, free: 4.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.3047, allocations: 203.8 kB / 463.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.3053, allocations: 82.61 kB / 463.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.3089, allocations: 1.791 MB / 465 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.3096, allocations: 0.8901 MB / 465.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004552/0.31, allocations: 131.3 kB / 466.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.3102, allocations: 39.42 kB / 466.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3102, allocations: 0 / 466.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of Templates: time 0.01201/0.3222, allocations: 5.766 MB / 471.9 MB, free: 11.12 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) Environment - environmentSimulation: