Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001376/0.001376, allocations: 79.59 kB / 21.18 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.001377/0.001377, allocations: 161 kB / 24.56 MB, free: 12 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.009/1.009, 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.2304/0.2304, allocations: 29.42 MB / 290.9 MB, free: 2.43 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.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.429e-05, allocations: 2.312 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.003937/0.003951, allocations: 4.392 MB / 374 MB, free: 6.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.00587, allocations: 1.555 MB / 375.6 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.006044, allocations: 19.81 kB / 375.6 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.006502, allocations: 147.1 kB / 375.8 MB, free: 4.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.0069, allocations: 274.4 kB / 376 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.007411, allocations: 279.1 kB / 376.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005129/0.007924, allocations: 0.6194 MB / 376.9 MB, free: 3.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.008232, allocations: 216.5 kB / 377.1 MB, free: 3.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004553/0.008688, allocations: 403 kB / 377.5 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.008971, allocations: 291.2 kB / 377.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.009013, allocations: 36 kB / 377.8 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002301/0.009243, allocations: 143.7 kB / 378 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.009426, allocations: 243.4 kB / 378.2 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.009555, allocations: 163.5 kB / 378.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.01001, allocations: 470.4 kB / 378.8 MB, free: 1.715 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01001, allocations: 0 / 378.8 MB, free: 1.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01002, allocations: 0 / 378.8 MB, free: 1.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.01002, allocations: 0 / 378.8 MB, free: 1.715 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.0008602/0.01088, allocations: 0.8016 MB / 379.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.01092, allocations: 15.98 kB / 379.6 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005051/0.01142, allocations: 180.3 kB / 379.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.0118, allocations: 357.7 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.01182, allocations: 25.38 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/0.01191, allocations: 56.72 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.01241, allocations: 0.5056 MB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.01243, allocations: 3.938 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.01246, allocations: 23.98 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-05/0.01255, allocations: 48.97 kB / 380.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.01288, allocations: 237.6 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.01539, allocations: 3.579 MB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.01573, allocations: 162.3 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.01581, allocations: 67.36 kB / 384.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.01584, allocations: 11.98 kB / 384.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.01586, allocations: 37.39 kB / 384.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.346e-06/0.01587, allocations: 3.938 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009241/0.01679, allocations: 0.615 MB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.01683, allocations: 89.03 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.01707, allocations: 378 kB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.01708, allocations: 29.7 kB / 386 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.01723, allocations: 346.7 kB / 386.4 MB, free: 9.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.01728, allocations: 95.22 kB / 386.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.01736, allocations: 95.8 kB / 386.5 MB, free: 9.539 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.01749, allocations: 0.5197 MB / 387.1 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.01758, allocations: 52.97 kB / 387.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.01777, allocations: 335.8 kB / 387.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.01808, allocations: 434.3 kB / 387.9 MB, free: 7.957 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.01809, allocations: 4 kB / 387.9 MB, free: 7.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005916/0.01868, allocations: 452.5 kB / 388.3 MB, free: 7.496 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.0187, allocations: 12.12 kB / 388.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002714/0.01897, allocations: 195.5 kB / 388.5 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003055/0.01927, allocations: 103.3 kB / 388.6 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.01945, allocations: 91.83 kB / 388.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.02142, allocations: 3.652 MB / 392.4 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.02158, allocations: 27.94 kB / 392.4 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.0216, allocations: 20 kB / 392.4 MB, free: 3.145 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.02173, allocations: 192.5 kB / 392.6 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.02178, allocations: 39.75 kB / 392.6 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.02203, allocations: 212.9 kB / 392.8 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.02204, allocations: 7.984 kB / 392.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02204, allocations: 0 / 392.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.02204, allocations: 0 / 392.9 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.02263, allocations: 0.6409 MB / 393.5 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.02264, allocations: 4 kB / 393.5 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.02279, allocations: 55.91 kB / 393.6 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.0228, allocations: 0 / 393.6 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.02281, allocations: 8 kB / 393.6 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.02281, allocations: 7.984 kB / 393.6 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.02282, allocations: 0 / 393.6 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.02314, allocations: 432.1 kB / 394 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.02321, allocations: 55.73 kB / 394 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.02323, allocations: 8.062 kB / 394.1 MB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.02331, allocations: 11.98 kB / 394.1 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.02334, allocations: 15.97 kB / 394.1 MB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.02336, allocations: 12 kB / 394.1 MB, free: 1.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.02348, allocations: 238.9 kB / 394.3 MB, free: 1.125 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02348, allocations: 0 / 394.3 MB, free: 1.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003174/0.0238, allocations: 92 kB / 394.4 MB, free: 1.035 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * Array equations: 0 * 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 9.867e-05/0.0239, allocations: 107.2 kB / 394.5 MB, free: 0.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005438/0.02444, allocations: 0.5795 MB / 395.1 MB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02445, allocations: 0 / 395.1 MB, free: 308 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.338e-05/0.02454, allocations: 94.45 kB / 395.2 MB, free: 212 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.02486, allocations: 76.48 kB / 395.3 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.02621, allocations: 0.8802 MB / 396.1 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.281e-05/0.02631, allocations: 141.2 kB / 396.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.02647, allocations: 99.16 kB / 396.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.02653, allocations: 36.48 kB / 396.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02653, allocations: 0 / 396.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of Templates: time 0.006652/0.03318, allocations: 4.042 MB / 400.5 MB, free: 10.95 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.976966988760978]