Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.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.001416/0.001416, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001774/0.001774, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08061/0.08061, allocations: 16.96 MB / 330.1 MB, free: 2.652 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") [Timeout 660] "Notification: PowerGrids 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.00201/0.00201, allocations: 71.88 kB / 461.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1283, allocations: 57.74 MB / 0.5068 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.2788/0.407, allocations: 28.85 MB / 0.535 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.4241, allocations: 8.249 MB / 0.5431 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005579/0.4297, allocations: 77.16 kB / 0.5431 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004802/0.4345, allocations: 1.078 MB / 0.5442 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0138/0.4483, allocations: 3.716 MB / 0.5478 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.4529, allocations: 1.419 MB / 0.5492 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.4651, allocations: 6.491 MB / 0.5556 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.4663, allocations: 265.8 kB / 0.5558 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005441/0.4718, allocations: 2.226 MB / 0.558 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006136/0.4779, allocations: 2.383 MB / 0.5603 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001842/0.4797, allocations: 254.8 kB / 0.5605 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00556/0.4853, allocations: 0.7599 MB / 0.5613 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001843/0.4871, allocations: 0.6636 MB / 0.5619 GB, free: 14.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006746/0.4939, allocations: 2.072 MB / 0.564 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.5074, allocations: 4.732 MB / 0.5686 GB, free: 9.539 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.5074, allocations: 1.062 kB / 0.5686 GB, free: 9.539 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.5074, allocations: 3.984 kB / 0.5686 GB, free: 9.535 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002306/0.5076, allocations: 0 / 0.5686 GB, free: 9.535 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 0.02585/0.5335, allocations: 6.014 MB / 0.5745 GB, free: 5.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5335, allocations: 12.03 kB / 0.5745 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/0.5374, allocations: 0.5998 MB / 0.5751 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006648/0.5441, allocations: 2.104 MB / 0.5771 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.5443, allocations: 213.5 kB / 0.5773 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006533/0.545, allocations: 268.4 kB / 0.5776 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006646/0.5516, allocations: 3.176 MB / 0.5807 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-05/0.5517, allocations: 19.81 kB / 0.5807 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004169/0.5521, allocations: 120 kB / 0.5808 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.458e-05/0.5522, allocations: 72 kB / 0.5809 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005191/0.5574, allocations: 2.544 MB / 0.5834 GB, free: 11.73 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02979/0.5872, allocations: 20.45 MB / 0.6033 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004863/0.592, allocations: 2.194 MB / 0.6055 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.5938, allocations: 0.8427 MB / 0.6063 GB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.5941, allocations: 45.95 kB / 0.6063 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.059e-05/0.5942, allocations: 64.56 kB / 0.6064 GB, free: 3.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 6.262e-06/0.5942, allocations: 0 / 0.6064 GB, free: 3.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02233/0.6165, allocations: 5.8 MB / 0.6121 GB, free: 13.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.6166, allocations: 77.41 kB / 0.6121 GB, free: 13.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006389/0.6229, allocations: 2.958 MB / 0.615 GB, free: 10.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004268/0.6234, allocations: 77.7 kB / 0.6151 GB, free: 10.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.6251, allocations: 1.452 MB / 0.6165 GB, free: 8.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001709/0.6268, allocations: 1.058 MB / 0.6176 GB, free: 7.727 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004174/0.631, allocations: 1.521 MB / 0.619 GB, free: 6.191 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6312, allocations: 301.1 kB / 0.6193 GB, free: 5.895 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004384/0.6356, allocations: 2.075 MB / 0.6213 GB, free: 3.812 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004988/0.6405, allocations: 2.752 MB / 0.624 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007233/0.6478, allocations: 3.983 MB / 0.6279 GB, free: 12.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/0.6478, allocations: 0 / 0.6279 GB, free: 12.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01583/0.6636, allocations: 6.982 MB / 0.6347 GB, free: 5.805 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.6637, allocations: 10.97 kB / 0.6348 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.6637, allocations: 4 kB / 0.6348 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002892/0.6666, allocations: 0.9261 MB / 0.6357 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007056/0.6736, allocations: 1.607 MB / 0.6372 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.6864, allocations: 6.863 MB / 0.6439 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006892/0.6933, allocations: 0.5628 MB / 0.6445 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/0.6944, allocations: 256.1 kB / 0.6447 GB, free: 11.46 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1034): * Single equations (assignments): 1032 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of prepare postOptimizeDAE: time 0.002333/0.6967, allocations: 0.6832 MB / 0.6454 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/0.6982, allocations: 357.8 kB / 0.6457 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006205/0.7045, allocations: 2.655 MB / 0.6483 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.7045, allocations: 27.98 kB / 0.6484 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.7045, allocations: 4 kB / 0.6484 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.646e-05/0.7045, allocations: 11.95 kB / 0.6484 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.7154, allocations: 5.491 MB / 0.6537 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.7155, allocations: 3.938 kB / 0.6537 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.7168, allocations: 311.6 kB / 0.654 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/0.7192, allocations: 0.7425 MB / 0.6548 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.7194, allocations: 47.98 kB / 0.6548 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.7313, allocations: 6.655 MB / 0.6613 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7313, allocations: 4 kB / 0.6613 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007206/0.7385, allocations: 2.738 MB / 0.664 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002714/0.7412, allocations: 0.6456 MB / 0.6646 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/0.7424, allocations: 40 kB / 0.6647 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003225/0.7456, allocations: 111.9 kB / 0.6648 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003863/0.746, allocations: 169.5 kB / 0.6649 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/0.7462, allocations: 75.95 kB / 0.665 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003664/0.7499, allocations: 1.774 MB / 0.6667 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7499, allocations: 0 / 0.6667 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006787/0.7566, allocations: 1.613 MB / 0.6683 GB, free: 3.031 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (188): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008766/0.7575, allocations: 303.5 kB / 0.6686 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0109/0.7684, allocations: 4.38 MB / 0.6729 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.7684, allocations: 8 kB / 0.6729 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003051/0.7715, allocations: 1.385 MB / 0.6742 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.7744, allocations: 250.5 kB / 0.6745 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008451/0.7829, allocations: 4.697 MB / 0.6791 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.7843, allocations: 1.734 MB / 0.6807 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/0.7856, allocations: 279.4 kB / 0.681 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of SimCode: time 1.262e-06/0.7856, allocations: 0 / 0.681 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of Templates: time 0.3582/1.144, allocations: 71 MB / 0.7503 GB, free: 183.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.961758943041787] Failed to read output from testmodel.py, exit status != 0: 1.154371035983786 1.166327013 0.6559380760000001 Calling exit ...