Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001473/0.001473, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00163/0.00163, allocations: 161.7 kB / 24.27 MB, free: 172 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.537/1.537, 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.3136/0.3136, allocations: 29.41 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.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.673e-05/3.901e-05, allocations: 6.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.006294/0.006333, allocations: 2.152 MB / 371 MB, free: 9.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.007871, allocations: 0.5183 MB / 371.6 MB, free: 8.598 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.007943, allocations: 7.938 kB / 371.6 MB, free: 8.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.008162, allocations: 11.92 kB / 371.6 MB, free: 8.578 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.008299, allocations: 31.77 kB / 371.6 MB, free: 8.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.008828, allocations: 71.75 kB / 371.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.009033, allocations: 71.69 kB / 371.8 MB, free: 8.406 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.009077, allocations: 7.984 kB / 371.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.009313, allocations: 43.83 kB / 371.8 MB, free: 8.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.00942, allocations: 27.91 kB / 371.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.009434, allocations: 0 / 371.8 MB, free: 8.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.009789, allocations: 95.73 kB / 371.9 MB, free: 8.234 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.00985, allocations: 7.984 kB / 371.9 MB, free: 8.227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.772e-05/0.009897, allocations: 15.92 kB / 372 MB, free: 8.211 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.01023, allocations: 107.6 kB / 372.1 MB, free: 8.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01023, allocations: 0 / 372.1 MB, free: 8.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.01024, allocations: 0 / 372.1 MB, free: 8.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.01024, allocations: 0 / 372.1 MB, free: 8.105 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006106/0.01085, allocations: 311.8 kB / 372.4 MB, free: 7.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.01091, allocations: 11.98 kB / 372.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.01097, allocations: 12.88 kB / 372.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.01123, allocations: 121.7 kB / 372.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.01124, allocations: 384 / 372.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.01125, allocations: 384 / 372.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.0115, allocations: 99.86 kB / 372.6 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.01151, allocations: 3.938 kB / 372.6 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.01152, allocations: 0 / 372.6 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.01153, allocations: 0 / 372.6 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.01166, allocations: 65.67 kB / 372.7 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.01189, allocations: 105.3 kB / 372.8 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.01206, allocations: 76.25 kB / 372.8 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.0122, allocations: 62.58 kB / 372.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.01221, allocations: 0 / 372.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.01226, allocations: 38.56 kB / 372.9 MB, free: 7.074 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.01226, allocations: 3.938 kB / 373 MB, free: 7.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005612/0.01282, allocations: 234.8 kB / 373.2 MB, free: 6.816 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.01294, allocations: 89.11 kB / 373.3 MB, free: 6.711 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.01313, allocations: 117.7 kB / 373.4 MB, free: 6.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.01316, allocations: 25.73 kB / 373.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.01325, allocations: 96.12 kB / 373.5 MB, free: 6.457 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.01332, allocations: 27.75 kB / 373.5 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.01339, allocations: 17.7 kB / 373.5 MB, free: 6.406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002848/0.01367, allocations: 318.8 kB / 373.9 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.01379, allocations: 57.69 kB / 373.9 MB, free: 6.023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.01391, allocations: 61.67 kB / 374 MB, free: 5.957 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.01417, allocations: 140.2 kB / 374.1 MB, free: 5.805 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01417, allocations: 0 / 374.1 MB, free: 5.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003233/0.0145, allocations: 169 kB / 374.3 MB, free: 5.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.326e-05/0.01457, allocations: 41.69 kB / 374.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.01458, allocations: 8 kB / 374.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.0146, allocations: 0 / 374.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.0146, allocations: 0 / 374.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.0146, allocations: 0 / 374.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.941e-05/0.01464, allocations: 4 kB / 374.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.01467, allocations: 3.984 kB / 374.3 MB, free: 5.559 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000219/0.01489, allocations: 155.5 kB / 374.5 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.01492, allocations: 11.95 kB / 374.5 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.01494, allocations: 8.375 kB / 374.5 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01495, allocations: 3.938 kB / 374.5 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01495, allocations: 4 kB / 374.5 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.01496, allocations: 3.984 kB / 374.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.01513, allocations: 109.3 kB / 374.6 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01513, allocations: 0 / 374.6 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.01514, allocations: 4 kB / 374.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.01514, allocations: 4 kB / 374.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.01516, allocations: 0 / 374.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.01516, allocations: 3.938 kB / 374.6 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01516, allocations: 0 / 374.6 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.01571, allocations: 260.7 kB / 374.9 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.01573, allocations: 7.891 kB / 374.9 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.01576, allocations: 8.031 kB / 374.9 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.01579, allocations: 3.938 kB / 374.9 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.01582, allocations: 7.938 kB / 374.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.01584, allocations: 0 / 374.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.01595, allocations: 95.2 kB / 375 MB, free: 4.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01595, allocations: 0 / 375 MB, free: 4.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004173/0.01637, allocations: 24 kB / 375 MB, free: 4.785 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0003274/0.0167, allocations: 111.2 kB / 375.1 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005319/0.01723, allocations: 246.7 kB / 375.4 MB, free: 4.398 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.01723, allocations: 4.062 kB / 375.4 MB, free: 4.395 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.01749, allocations: 145.1 kB / 375.5 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.01792, allocations: 15.83 kB / 375.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.01866, allocations: 258 kB / 375.8 MB, free: 3.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.01878, allocations: 75.33 kB / 375.9 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.773e-05/0.0188, allocations: 0 / 375.9 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.01883, allocations: 8.5 kB / 375.9 MB, free: 3.832 MB / 346.7 MB Notification: Performance of SimCode: time 5.62e-07/0.01883, allocations: 4.062 kB / 375.9 MB, free: 3.828 MB / 346.7 MB Notification: Performance of Templates: time 0.006575/0.0254, allocations: 1.146 MB / 377 MB, free: 2.699 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.73369514499791]