Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.00187/0.00187, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002426/0.002426, allocations: 219.7 kB / 23.73 MB, free: 4.16 MB / 14.72 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.598/1.598, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 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.1908/0.1908, allocations: 38.55 MB / 352.5 MB, free: 12.31 MB / 286.1 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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 75.88 kB / 493 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3875, allocations: 62.45 MB / 0.5424 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003954/0.3914, allocations: 2.146 MB / 0.5445 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009568/0.3924, allocations: 0.5179 MB / 0.545 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.3924, allocations: 1.344 kB / 0.545 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.3926, allocations: 9.297 kB / 0.545 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3927, allocations: 30.23 kB / 0.5451 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.3931, allocations: 82.27 kB / 0.5451 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.3932, allocations: 56.73 kB / 0.5452 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.3933, allocations: 2.281 kB / 0.5452 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3934, allocations: 36.16 kB / 0.5452 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.3935, allocations: 37.05 kB / 0.5453 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3935, allocations: 5.438 kB / 0.5453 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.3937, allocations: 103.4 kB / 0.5454 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.3938, allocations: 42.84 kB / 0.5454 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.3939, allocations: 28.91 kB / 0.5454 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.3941, allocations: 147 kB / 0.5456 GB, free: 14.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3941, allocations: 1.375 kB / 0.5456 GB, free: 14.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3941, allocations: 3.938 kB / 0.5456 GB, free: 14.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3941, allocations: 0 / 0.5456 GB, free: 14.01 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005226/0.3946, allocations: 403.7 kB / 0.546 GB, free: 13.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3947, allocations: 13.58 kB / 0.546 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.3947, allocations: 30.28 kB / 0.546 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.3949, allocations: 143.2 kB / 0.5462 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3949, allocations: 5.312 kB / 0.5462 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.395, allocations: 5.312 kB / 0.5462 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.3953, allocations: 230.1 kB / 0.5464 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3953, allocations: 1.469 kB / 0.5464 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3953, allocations: 0 / 0.5464 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3953, allocations: 0 / 0.5464 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.3955, allocations: 193.4 kB / 0.5466 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.3957, allocations: 134.7 kB / 0.5467 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3959, allocations: 208.5 kB / 0.5469 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.3961, allocations: 202.3 kB / 0.5471 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.3961, allocations: 1.25 kB / 0.5471 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.3962, allocations: 39.72 kB / 0.5471 GB, free: 12.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.183e-06/0.3962, allocations: 0 / 0.5471 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009492/0.3971, allocations: 0.7088 MB / 0.5478 GB, free: 12.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.606e-05/0.3972, allocations: 104.2 kB / 0.5479 GB, free: 12.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3974, allocations: 151.5 kB / 0.5481 GB, free: 12.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3974, allocations: 26.77 kB / 0.5481 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.3975, allocations: 96.12 kB / 0.5482 GB, free: 12.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.3976, allocations: 135.7 kB / 0.5483 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.3977, allocations: 39.36 kB / 0.5483 GB, free: 11.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3978, allocations: 337.7 kB / 0.5487 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.3981, allocations: 192.5 kB / 0.5489 GB, free: 11.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.3984, allocations: 192.9 kB / 0.549 GB, free: 11.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.3991, allocations: 458.2 kB / 0.5495 GB, free: 11.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3991, allocations: 0 / 0.5495 GB, free: 11.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007042/0.3998, allocations: 462 kB / 0.5499 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.4, allocations: 83.47 kB / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4, allocations: 0.9062 kB / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.4, allocations: 0 / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/0.4, allocations: 1.156 kB / 0.55 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4, allocations: 4.062 kB / 0.55 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.4001, allocations: 27.75 kB / 0.55 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.4001, allocations: 10.84 kB / 0.55 GB, free: 10.95 MB / 398.1 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.0002908/0.4004, allocations: 234.4 kB / 0.5503 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.4004, allocations: 24.52 kB / 0.5503 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.4005, allocations: 9.688 kB / 0.5503 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.4005, allocations: 0 / 0.5503 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4005, allocations: 0 / 0.5503 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4005, allocations: 1.469 kB / 0.5503 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.4007, allocations: 154 kB / 0.5504 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4007, allocations: 4 kB / 0.5504 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.4007, allocations: 3.938 kB / 0.5504 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4007, allocations: 1 kB / 0.5505 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.4007, allocations: 10.28 kB / 0.5505 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.4007, allocations: 4 kB / 0.5505 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4007, allocations: 1.219 kB / 0.5505 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.4018, allocations: 0.7763 MB / 0.5512 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.4019, allocations: 29.7 kB / 0.5513 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.4019, allocations: 9.609 kB / 0.5513 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.4019, allocations: 6.781 kB / 0.5513 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.402, allocations: 2.219 kB / 0.5513 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.402, allocations: 10.81 kB / 0.5513 GB, free: 10.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.505e-05/0.4021, allocations: 115 kB / 0.5514 GB, free: 10.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4021, allocations: 0 / 0.5514 GB, free: 10.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.4024, allocations: 61.88 kB / 0.5514 GB, free: 10.07 MB / 398.1 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.0002147/0.4026, allocations: 114.3 kB / 0.5516 GB, free: 9.973 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.4038, allocations: 0.7661 MB / 0.5523 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4038, allocations: 1.062 kB / 0.5523 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000508/0.4043, allocations: 443.4 kB / 0.5527 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.4046, allocations: 38.02 kB / 0.5528 GB, free: 9.242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.4057, allocations: 0.7326 MB / 0.5535 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.4058, allocations: 139.6 kB / 0.5536 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.006e-05/0.4058, allocations: 0 / 0.5536 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.4059, allocations: 11.44 kB / 0.5536 GB, free: 8.309 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4059, allocations: 0 / 0.5536 GB, free: 8.309 MB / 398.1 MB Notification: Performance of Templates: time 0.006859/0.4127, allocations: 2.956 MB / 0.5565 GB, free: 5.367 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3935636729002] Failed to read output from testmodel.py, exit status != 0: 0.42257047072052956 0.43752992 0.040254283 Calling exit ...