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.00124/0.00124, allocations: 111.9 kB / 17.68 MB, free: 5.355 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.001627/0.001627, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.588/1.588, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1874/0.1874, allocations: 37.98 MB / 309.8 MB, free: 5.969 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.001721/0.001721, allocations: 63.91 kB / 376.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3409, allocations: 55.24 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005608/0.3466, allocations: 4.407 MB / 436.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.349, allocations: 1.562 MB / 438 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.3492, allocations: 15.94 kB / 438 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008379/0.3501, allocations: 286.7 kB / 438.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.3506, allocations: 286.6 kB / 438.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.3512, allocations: 247.5 kB / 438.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.3517, allocations: 0.6118 MB / 439.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003942/0.3521, allocations: 223.8 kB / 439.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.3525, allocations: 263 kB / 439.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.353, allocations: 370.9 kB / 440.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.3531, allocations: 36 kB / 440.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.3535, allocations: 227.6 kB / 440.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.3538, allocations: 231.5 kB / 440.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.354, allocations: 254.7 kB / 441 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.3547, allocations: 0.6698 MB / 441.7 MB, free: 9.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3547, allocations: 0 / 441.7 MB, free: 9.809 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3547, allocations: 0 / 441.7 MB, free: 9.809 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3547, allocations: 0 / 441.7 MB, free: 9.809 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.001408/0.3562, allocations: 0.7716 MB / 442.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3562, allocations: 11.89 kB / 442.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006186/0.3568, allocations: 96.28 kB / 442.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/0.3575, allocations: 419.2 kB / 442.9 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.3576, allocations: 25.38 kB / 443 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.3577, allocations: 63.94 kB / 443 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.3585, allocations: 0.6915 MB / 443.7 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.3585, allocations: 0 / 443.7 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/0.3586, allocations: 19.97 kB / 443.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.3588, allocations: 68.95 kB / 443.8 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.3595, allocations: 0.6674 MB / 444.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.3624, allocations: 2.646 MB / 447.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.3628, allocations: 317.3 kB / 447.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.363, allocations: 205.7 kB / 447.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.3631, allocations: 8 kB / 447.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3631, allocations: 34.56 kB / 447.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.3631, allocations: 0 / 447.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.001617/0.3647, allocations: 1.307 MB / 449 MB, free: 2.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3648, allocations: 81.11 kB / 449.1 MB, free: 2.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.365, allocations: 291.4 kB / 449.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.365, allocations: 29.7 kB / 449.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3652, allocations: 255.6 kB / 449.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.3652, allocations: 138 kB / 449.8 MB, free: 1.312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3654, allocations: 86.03 kB / 449.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.3654, allocations: 350.7 kB / 450.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.3657, allocations: 188.9 kB / 450.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.3659, allocations: 325.3 kB / 450.7 MB, free: 316 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.3666, allocations: 0.566 MB / 451.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3666, allocations: 4 kB / 451.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001224/0.3679, allocations: 0.6703 MB / 451.9 MB, free: 15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.3679, allocations: 8 kB / 451.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008442/0.3688, allocations: 495.5 kB / 452.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.3692, allocations: 109.9 kB / 452.5 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.3695, allocations: 83.83 kB / 452.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/0.3725, allocations: 3.266 MB / 455.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.3729, allocations: 31.91 kB / 455.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.3729, allocations: 16 kB / 455.9 MB, free: 10.71 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.0002793/0.3732, allocations: 209.7 kB / 456.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.369e-05/0.3733, allocations: 31.69 kB / 456.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006911/0.374, allocations: 476.5 kB / 456.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.3741, allocations: 8 kB / 456.6 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3741, allocations: 4.188 kB / 456.6 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.3741, allocations: 7.922 kB / 456.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.3755, allocations: 1.007 MB / 457.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3755, allocations: 4.062 kB / 457.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.3759, allocations: 71.89 kB / 457.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.3759, allocations: 3.938 kB / 457.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3759, allocations: 11.98 kB / 457.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.376, allocations: 4 kB / 457.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.376, allocations: 0 / 457.7 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008818/0.3768, allocations: 0.7473 MB / 458.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.377, allocations: 136.8 kB / 458.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.3771, allocations: 11.94 kB / 458.6 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.3773, allocations: 15.97 kB / 458.7 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3773, allocations: 15.98 kB / 458.7 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.3774, allocations: 11.98 kB / 458.7 MB, free: 7.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002236/0.3776, allocations: 207.1 kB / 458.9 MB, free: 7.617 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3776, allocations: 4 kB / 458.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006006/0.3782, allocations: 116 kB / 459 MB, free: 7.5 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.0003258/0.3785, allocations: 139 kB / 459.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.3797, allocations: 0.7139 MB / 459.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3798, allocations: 0 / 459.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.38, allocations: 215.8 kB / 460.1 MB, free: 6.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.3806, allocations: 61.31 kB / 460.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3823, allocations: 1.111 MB / 461.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.3828, allocations: 0.8707 MB / 462.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.3831, allocations: 107.2 kB / 462.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/0.3832, allocations: 35.42 kB / 462.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3832, allocations: 0 / 462.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of Templates: time 0.01003/0.3932, allocations: 4.263 MB / 466.5 MB, free: 15.91 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)