Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.181/0.181, allocations: 38.52 MB / 344.4 MB, free: 2.504 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3971, allocations: 61.23 MB / 0.5306 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005406/0.4025, allocations: 4.465 MB / 0.5349 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.4039, allocations: 0.9506 MB / 0.5358 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.4041, allocations: 15.75 kB / 0.5359 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.4043, allocations: 54.77 kB / 0.5359 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006733/0.405, allocations: 245.4 kB / 0.5361 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.4052, allocations: 97.84 kB / 0.5362 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.4058, allocations: 0.4947 MB / 0.5367 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.406, allocations: 91.81 kB / 0.5368 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.4063, allocations: 224.7 kB / 0.537 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004199/0.4067, allocations: 282.8 kB / 0.5373 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.4068, allocations: 28.62 kB / 0.5373 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.7e-05/0.4068, allocations: 23.09 kB / 0.5373 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.407, allocations: 155.3 kB / 0.5375 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.4071, allocations: 184.8 kB / 0.5377 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.4075, allocations: 365.6 kB / 0.538 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4075, allocations: 0 / 0.538 GB, free: 384 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4075, allocations: 0 / 0.538 GB, free: 384 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.4075, allocations: 1.156 kB / 0.538 GB, free: 384 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001129/0.4086, allocations: 0.6716 MB / 0.5387 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4087, allocations: 12.05 kB / 0.5387 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.4088, allocations: 38.8 kB / 0.5387 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.4094, allocations: 377.3 kB / 0.5391 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.4094, allocations: 23.03 kB / 0.5391 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.4095, allocations: 32.33 kB / 0.5391 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.41, allocations: 352.7 kB / 0.5395 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.41, allocations: 5.344 kB / 0.5395 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.4101, allocations: 10.44 kB / 0.5395 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.4102, allocations: 25.91 kB / 0.5395 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.4106, allocations: 239.7 kB / 0.5397 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.4124, allocations: 1.378 MB / 0.5411 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.4128, allocations: 160.9 kB / 0.5412 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.413, allocations: 90.77 kB / 0.5413 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.413, allocations: 13.39 kB / 0.5413 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.413, allocations: 43.97 kB / 0.5414 GB, free: 13.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.413, allocations: 0 / 0.5414 GB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001433/0.4145, allocations: 0.7548 MB / 0.5421 GB, free: 13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.4145, allocations: 86.58 kB / 0.5422 GB, free: 12.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.4149, allocations: 300.7 kB / 0.5425 GB, free: 12.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4149, allocations: 25.7 kB / 0.5425 GB, free: 12.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.415, allocations: 225.8 kB / 0.5427 GB, free: 12.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.4151, allocations: 49.36 kB / 0.5428 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.4152, allocations: 60.89 kB / 0.5428 GB, free: 12.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4153, allocations: 338.3 kB / 0.5432 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.4155, allocations: 64.2 kB / 0.5432 GB, free: 12.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.4156, allocations: 170.9 kB / 0.5434 GB, free: 11.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.416, allocations: 258.3 kB / 0.5436 GB, free: 11.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.416, allocations: 1.188 kB / 0.5436 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005067/0.4165, allocations: 321.9 kB / 0.5439 GB, free: 11.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4165, allocations: 6.781 kB / 0.5439 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4165, allocations: 3.656 kB / 0.5439 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.4167, allocations: 53.38 kB / 0.544 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.4169, allocations: 44.95 kB / 0.544 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.4185, allocations: 1.611 MB / 0.5456 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.4187, allocations: 12.38 kB / 0.5456 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.4187, allocations: 18.11 kB / 0.5456 GB, free: 9.863 MB / 398.1 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.4189, allocations: 173.9 kB / 0.5458 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.314e-05/0.4189, allocations: 24.08 kB / 0.5458 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.4193, allocations: 242.8 kB / 0.5461 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4193, allocations: 10.36 kB / 0.5461 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4193, allocations: 1.188 kB / 0.5461 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4194, allocations: 5.109 kB / 0.5461 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009095/0.4203, allocations: 0.6323 MB / 0.5467 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4203, allocations: 0 / 0.5467 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.4204, allocations: 27.52 kB / 0.5467 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.4206, allocations: 60.33 kB / 0.5468 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.4206, allocations: 11.61 kB / 0.5468 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.422, allocations: 1.599 MB / 0.5483 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.422, allocations: 0 / 0.5483 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005623/0.4226, allocations: 423.9 kB / 0.5488 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.4227, allocations: 109.4 kB / 0.5489 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.4227, allocations: 3.281 kB / 0.5489 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.4229, allocations: 6.125 kB / 0.5489 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.4229, allocations: 10.52 kB / 0.5489 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.4229, allocations: 11.64 kB / 0.5489 GB, free: 7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.4231, allocations: 208.6 kB / 0.5491 GB, free: 6.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4231, allocations: 0 / 0.5491 GB, free: 6.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.4235, allocations: 66.03 kB / 0.5491 GB, free: 6.859 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.000141/0.4237, allocations: 110.1 kB / 0.5493 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005898/0.4243, allocations: 295.7 kB / 0.5495 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4243, allocations: 5.25 kB / 0.5495 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003498/0.4246, allocations: 197.1 kB / 0.5497 GB, free: 6.414 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.4251, allocations: 69.02 kB / 0.5498 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.4264, allocations: 0.7389 MB / 0.5505 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.4269, allocations: 0.8168 MB / 0.5513 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.4271, allocations: 45.38 kB / 0.5514 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.4271, allocations: 21.91 kB / 0.5514 GB, free: 5.07 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4271, allocations: 0 / 0.5514 GB, free: 5.07 MB / 398.1 MB Notification: Performance of Templates: time 0.008083/0.4352, allocations: 3.085 MB / 0.5544 GB, free: 3.281 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.967517791315913]