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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2405/0.2405, allocations: 29.42 MB / 290.9 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.85e-05, allocations: 2.312 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004333/0.004362, allocations: 4.259 MB / 373.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.00653, allocations: 1.516 MB / 375.4 MB, free: 5.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.006763, allocations: 23.81 kB / 375.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005618/0.007324, allocations: 151.1 kB / 375.6 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.007911, allocations: 290.3 kB / 375.9 MB, free: 4.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006656/0.008576, allocations: 259.1 kB / 376.1 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005515/0.009128, allocations: 0.6311 MB / 376.7 MB, free: 3.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.009453, allocations: 188 kB / 376.9 MB, free: 3.621 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004461/0.009899, allocations: 359.1 kB / 377.3 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.0104, allocations: 359.1 kB / 377.6 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.0105, allocations: 40 kB / 377.7 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.01095, allocations: 235.4 kB / 377.9 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.01114, allocations: 243.4 kB / 378.1 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.01129, allocations: 183.6 kB / 378.3 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.01193, allocations: 0.5451 MB / 378.9 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.01194, allocations: 0 / 378.9 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01194, allocations: 0 / 378.9 MB, free: 1.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.01195, allocations: 0 / 378.9 MB, free: 1.684 MB / 346.7 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.001048/0.013, allocations: 0.8132 MB / 379.7 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.01304, allocations: 11.98 kB / 379.7 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.01363, allocations: 180.4 kB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.01409, allocations: 374.7 kB / 380.2 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.01411, allocations: 21.38 kB / 380.3 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.01422, allocations: 48.72 kB / 380.3 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.01476, allocations: 476.5 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.01478, allocations: 0 / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.01481, allocations: 16 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.01494, allocations: 68.94 kB / 380.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.01538, allocations: 301.7 kB / 381.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.01764, allocations: 2.62 MB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.01788, allocations: 166.8 kB / 383.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.01799, allocations: 107.3 kB / 384 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.01803, allocations: 4 kB / 384 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.01805, allocations: 41.33 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.914e-06/0.01806, allocations: 0 / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001129/0.01919, allocations: 0.8026 MB / 384.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.01923, allocations: 85.05 kB / 385 MB, free: 11.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.01943, allocations: 330.1 kB / 385.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.01945, allocations: 25.7 kB / 385.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.01958, allocations: 314.9 kB / 385.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.01965, allocations: 142.8 kB / 385.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.01975, allocations: 91.8 kB / 385.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.01989, allocations: 0.5235 MB / 386.4 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.01999, allocations: 72.95 kB / 386.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.02018, allocations: 265.9 kB / 386.7 MB, free: 9.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.02051, allocations: 381.8 kB / 387.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02051, allocations: 0 / 387.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006278/0.02114, allocations: 480 kB / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.02116, allocations: 8 kB / 387.5 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003458/0.02151, allocations: 261.2 kB / 387.8 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.02178, allocations: 99.72 kB / 387.9 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.02197, allocations: 91.81 kB / 388 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.02394, allocations: 3.649 MB / 391.6 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.02409, allocations: 23.98 kB / 391.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.02412, allocations: 16 kB / 391.7 MB, free: 4.035 MB / 362.7 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.0001459/0.02427, allocations: 184.4 kB / 391.9 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.02435, allocations: 55.64 kB / 391.9 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.02469, allocations: 284.7 kB / 392.2 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.0247, allocations: 15.98 kB / 392.2 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.02471, allocations: 0 / 392.2 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02471, allocations: 0 / 392.2 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007568/0.02547, allocations: 0.7247 MB / 392.9 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.02547, allocations: 4 kB / 392.9 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.02565, allocations: 63.89 kB / 393 MB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.02565, allocations: 4 kB / 393 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.02567, allocations: 19.98 kB / 393 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.02567, allocations: 0 / 393 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02567, allocations: 0 / 393 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.02611, allocations: 0.5179 MB / 393.5 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.02619, allocations: 55.73 kB / 393.6 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.02622, allocations: 11.98 kB / 393.6 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.171e-05/0.02631, allocations: 23.97 kB / 393.6 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.02635, allocations: 15.97 kB / 393.6 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.02636, allocations: 12 kB / 393.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.02647, allocations: 211 kB / 393.9 MB, free: 1.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02647, allocations: 4 kB / 393.9 MB, free: 1.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003521/0.02683, allocations: 119.9 kB / 394 MB, free: 1.629 MB / 362.7 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.0002006/0.02703, allocations: 131.1 kB / 394.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005958/0.02762, allocations: 0.6156 MB / 394.7 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02763, allocations: 0 / 394.7 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.02775, allocations: 120.4 kB / 394.8 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.02808, allocations: 70.86 kB / 394.9 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.02966, allocations: 0.9358 MB / 395.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.196e-05/0.02976, allocations: 156.9 kB / 396 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.0299, allocations: 79.19 kB / 396.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.02997, allocations: 32.48 kB / 396.1 MB, free: 15.39 MB / 378.7 MB Notification: Performance of SimCode: time 9.91e-07/0.02997, allocations: 4 kB / 396.1 MB, free: 15.39 MB / 378.7 MB Notification: Performance of Templates: time 0.006707/0.03668, allocations: 4.282 MB / 400.4 MB, free: 11.16 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2828920208849013]