Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 90.83 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.001002/0.001002, allocations: 180.2 kB / 17.56 MB, free: 6.203 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.521/1.521, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1945/0.1945, allocations: 38.05 MB / 310.1 MB, free: 5.918 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.0005533/0.0005532, allocations: 16 kB / 377.2 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3259, allocations: 56.32 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004452/0.3304, allocations: 4.671 MB / 438.2 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.3328, allocations: 1.73 MB / 439.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.333, allocations: 19.88 kB / 439.9 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.3333, allocations: 63.48 kB / 440 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005654/0.3338, allocations: 266.9 kB / 440.2 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.3344, allocations: 219.6 kB / 440.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000658/0.3351, allocations: 0.9434 MB / 441.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006892/0.3358, allocations: 459.6 kB / 441.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.3361, allocations: 215 kB / 442.1 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.3366, allocations: 374.9 kB / 442.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.3367, allocations: 20 kB / 442.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.3371, allocations: 231.5 kB / 442.7 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.3373, allocations: 219.3 kB / 442.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.3375, allocations: 248.5 kB / 443.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.338, allocations: 0.6385 MB / 443.8 MB, free: 8.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.338, allocations: 4 kB / 443.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3381, allocations: 0 / 443.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3381, allocations: 4 kB / 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001367/0.3394, allocations: 0.692 MB / 444.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3395, allocations: 8.031 kB / 444.5 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006177/0.3401, allocations: 88.22 kB / 444.6 MB, free: 7.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.3406, allocations: 399.2 kB / 444.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.3407, allocations: 33.36 kB / 445 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.3408, allocations: 52.05 kB / 445 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008508/0.3417, allocations: 0.6953 MB / 445.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.3417, allocations: 4 kB / 445.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.3418, allocations: 15.94 kB / 445.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/0.342, allocations: 72.94 kB / 445.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008253/0.3428, allocations: 0.6596 MB / 446.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.3457, allocations: 2.67 MB / 449.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.3462, allocations: 321.3 kB / 449.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.3464, allocations: 201.7 kB / 449.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.3465, allocations: 4 kB / 449.7 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3465, allocations: 42.55 kB / 449.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.895e-06/0.3465, allocations: 0 / 449.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001707/0.3482, allocations: 1.3 MB / 451 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.3483, allocations: 77.11 kB / 451.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.3485, allocations: 295.1 kB / 451.4 MB, free: 356 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3485, allocations: 33.7 kB / 451.4 MB, free: 316 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.3487, allocations: 251.7 kB / 451.6 MB, free: 60 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.3488, allocations: 134 kB / 451.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.3489, allocations: 49.69 kB / 451.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.349, allocations: 350.8 kB / 452.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.3493, allocations: 192.9 kB / 452.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.3497, allocations: 325.3 kB / 452.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.3505, allocations: 0.5621 MB / 453.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3505, allocations: 0 / 453.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001208/0.3517, allocations: 0.6777 MB / 453.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3518, allocations: 8 kB / 453.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007663/0.3525, allocations: 492.1 kB / 454.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004522/0.353, allocations: 113.6 kB / 454.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.3533, allocations: 83.83 kB / 454.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.3559, allocations: 3.022 MB / 457.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.3561, allocations: 19.98 kB / 457.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.3562, allocations: 20 kB / 457.6 MB, free: 9.617 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002658/0.3564, allocations: 209.7 kB / 457.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.3565, allocations: 39.47 kB / 457.9 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.3573, allocations: 468.7 kB / 458.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.3573, allocations: 12 kB / 458.4 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.3573, allocations: 3.984 kB / 458.4 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3573, allocations: 0 / 458.4 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.3588, allocations: 1.023 MB / 459.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3588, allocations: 4 kB / 459.4 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.3591, allocations: 71.88 kB / 459.5 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.3592, allocations: 4 kB / 459.5 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.3592, allocations: 11.94 kB / 459.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3592, allocations: 0 / 459.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3592, allocations: 0 / 459.5 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.3602, allocations: 0.7473 MB / 460.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.3604, allocations: 144.6 kB / 460.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.3605, allocations: 8 kB / 460.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.3607, allocations: 11.98 kB / 460.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.3607, allocations: 23.91 kB / 460.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3607, allocations: 8 kB / 460.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.361, allocations: 211.1 kB / 460.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.361, allocations: 4 kB / 460.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005242/0.3615, allocations: 108 kB / 460.7 MB, free: 6.406 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002513/0.3618, allocations: 151.2 kB / 460.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.3629, allocations: 0.7052 MB / 461.6 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.3629, allocations: 0 / 461.6 MB, free: 5.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.3632, allocations: 212.3 kB / 461.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/0.3637, allocations: 69.83 kB / 461.9 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.3657, allocations: 1.372 MB / 463.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.3661, allocations: 0.8743 MB / 464.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.3665, allocations: 107.2 kB / 464.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.3666, allocations: 27.44 kB / 464.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3666, allocations: 0 / 464.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of Templates: time 0.008074/0.3747, allocations: 3.988 MB / 468.2 MB, free: 14.83 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) Environment - environmentSimulation: