Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001888/0.001888, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001985/0.001985, allocations: 165.3 kB / 24.27 MB, free: 152 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.548/1.548, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3042/0.3042, allocations: 29.42 MB / 290.5 MB, free: 2.426 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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.571e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007829/0.007855, allocations: 4.97 MB / 373.9 MB, free: 6.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.01043, allocations: 1.286 MB / 375.1 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.01066, allocations: 23.75 kB / 375.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.01116, allocations: 111.2 kB / 375.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007877/0.01195, allocations: 350.1 kB / 375.6 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.01243, allocations: 167.6 kB / 375.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000851/0.01328, allocations: 0.6928 MB / 376.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.0135, allocations: 96.67 kB / 376.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000647/0.01415, allocations: 414.8 kB / 377 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007234/0.01487, allocations: 419 kB / 377.4 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.01498, allocations: 48 kB / 377.4 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.0151, allocations: 48 kB / 377.5 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.01541, allocations: 251.3 kB / 377.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005449/0.01596, allocations: 203.5 kB / 377.9 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000802/0.01676, allocations: 0.6075 MB / 378.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01676, allocations: 0 / 378.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01676, allocations: 4 kB / 378.5 MB, free: 1.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.01677, allocations: 0 / 378.5 MB, free: 1.613 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002159/0.01893, allocations: 1.011 MB / 379.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01897, allocations: 11.98 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.01915, allocations: 76.61 kB / 379.6 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.02051, allocations: 0.5445 MB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.02055, allocations: 29.03 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.02066, allocations: 47.83 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.02138, allocations: 418.8 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.02139, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.02144, allocations: 12 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003581/0.02179, allocations: 80.53 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.02221, allocations: 170.4 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.02555, allocations: 2.014 MB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007513/0.02631, allocations: 230.3 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.02687, allocations: 187.1 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.02691, allocations: 8 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.02695, allocations: 41.38 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.02695, allocations: 0 / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.003944/0.03089, allocations: 1.289 MB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.03096, allocations: 81.11 kB / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007971/0.03176, allocations: 474.6 kB / 385.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.0318, allocations: 37.7 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.03208, allocations: 319.3 kB / 385.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.03224, allocations: 154.8 kB / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.03246, allocations: 115.8 kB / 385.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003479/0.03281, allocations: 0.5587 MB / 386.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.03303, allocations: 80.95 kB / 386.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.03342, allocations: 264.5 kB / 386.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.03405, allocations: 365.1 kB / 387.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.03405, allocations: 3.938 kB / 387.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001416/0.03547, allocations: 0.5778 MB / 387.7 MB, free: 7.977 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.03549, allocations: 8 kB / 387.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.0355, allocations: 4 kB / 387.7 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009602/0.03646, allocations: 219.3 kB / 387.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.03678, allocations: 87.83 kB / 388 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005403/0.04219, allocations: 4.56 MB / 392.5 MB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.04255, allocations: 47.88 kB / 392.6 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.0426, allocations: 20 kB / 392.6 MB, free: 2.793 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (48): * Single equations (assignments): 46 * 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): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002626/0.04286, allocations: 196.4 kB / 392.8 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.04298, allocations: 55.72 kB / 392.9 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.04422, allocations: 483.1 kB / 393.3 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.04423, allocations: 4 kB / 393.3 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.04423, allocations: 4 kB / 393.3 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.04424, allocations: 3.938 kB / 393.3 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.0462, allocations: 0.9396 MB / 394.3 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.0462, allocations: 0 / 394.3 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.04641, allocations: 43.92 kB / 394.3 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/0.04769, allocations: 305.3 kB / 394.6 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.04776, allocations: 31.97 kB / 394.6 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00698/0.05474, allocations: 7.21 MB / 401.9 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.05474, allocations: 4 kB / 401.9 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.05628, allocations: 0.7247 MB / 402.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.05639, allocations: 47.64 kB / 402.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/0.05648, allocations: 27.98 kB / 402.7 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.05678, allocations: 39.94 kB / 402.7 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.0569, allocations: 35.92 kB / 402.7 MB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.05693, allocations: 19.92 kB / 402.8 MB, free: 7.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003598/0.05729, allocations: 295.1 kB / 403 MB, free: 7.652 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05729, allocations: 0 / 403 MB, free: 7.652 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006817/0.05798, allocations: 155.9 kB / 403.2 MB, free: 7.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001838/0.05816, allocations: 123.2 kB / 403.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.05982, allocations: 0.7582 MB / 404.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.05982, allocations: 0 / 404.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001675/0.0615, allocations: 0.9901 MB / 405.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/0.0622, allocations: 115.5 kB / 405.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.06483, allocations: 1.329 MB / 406.5 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.06517, allocations: 270.4 kB / 406.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.06537, allocations: 60.33 kB / 406.8 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.06545, allocations: 32.5 kB / 406.9 MB, free: 3.633 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.06545, allocations: 4 kB / 406.9 MB, free: 3.629 MB / 378.7 MB Notification: Performance of Templates: time 0.01721/0.08266, allocations: 8.064 MB / 414.9 MB, free: 11.69 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.127865310991183]