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.001109/0.001109, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001246/0.001246, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.05156/0.05156, allocations: 13.11 MB / 273.4 MB, free: 220 kB / 250.7 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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 294.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.592e-05, allocations: 4.219 kB / 294.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.01439/0.01441, allocations: 20.5 MB / 314.9 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.02891, allocations: 8.142 MB / 323.1 MB, free: 4.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004836/0.03374, allocations: 75.44 kB / 323.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004555/0.0383, allocations: 1.094 MB / 324.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.04867, allocations: 3.905 MB / 328.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.05154, allocations: 1.36 MB / 329.5 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009418/0.06096, allocations: 7.18 MB / 336.7 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.06198, allocations: 302.9 kB / 337 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007489/0.06947, allocations: 3.358 MB / 340.3 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/0.07289, allocations: 1.865 MB / 342.2 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009729/0.07387, allocations: 248 kB / 342.4 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.07626, allocations: 0.6986 MB / 343.1 MB, free: 352 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004902/0.07675, allocations: 0.6638 MB / 343.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003172/0.07993, allocations: 1.418 MB / 345.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005116/0.08504, allocations: 3.039 MB / 348.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.08505, allocations: 0 / 348.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08505, allocations: 0 / 348.3 MB, free: 11.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.08516, allocations: 0 / 348.3 MB, free: 11.21 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.01147/0.09662, allocations: 6.29 MB / 354.6 MB, free: 4.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.09667, allocations: 8.031 kB / 354.6 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.09825, allocations: 0.6955 MB / 355.3 MB, free: 4.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.1006, allocations: 1.356 MB / 356.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.1007, allocations: 201.5 kB / 356.8 MB, free: 2.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.1009, allocations: 280.4 kB / 357.1 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.1035, allocations: 2.989 MB / 360.1 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.1035, allocations: 27.69 kB / 360.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.1036, allocations: 120 kB / 360.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.179e-05/0.1037, allocations: 72 kB / 360.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.1049, allocations: 1.182 MB / 361.5 MB, free: 13.27 MB / 330.7 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.0121/0.117, allocations: 15.48 MB / 377 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.1186, allocations: 1.355 MB / 378.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.119, allocations: 402.6 kB / 378.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.1191, allocations: 53.98 kB / 378.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/0.1192, allocations: 64.56 kB / 378.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=252): time 5.11e-06/0.1192, allocations: 0 / 378.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.01054/0.1297, allocations: 4.485 MB / 383.3 MB, free: 6.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.1298, allocations: 77.41 kB / 383.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.132, allocations: 2.303 MB / 385.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.1322, allocations: 85.7 kB / 385.8 MB, free: 4.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007765/0.1329, allocations: 1.329 MB / 387.1 MB, free: 2.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.1341, allocations: 1.046 MB / 388.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.1354, allocations: 1.44 MB / 389.6 MB, free: 456 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.054e-05/0.1355, allocations: 301.1 kB / 389.9 MB, free: 152 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.137, allocations: 1.153 MB / 391 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.1391, allocations: 1.845 MB / 392.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.1424, allocations: 2.825 MB / 395.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/0.1424, allocations: 4 kB / 395.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=1045) (initialization): time 0.0059/0.1483, allocations: 4.455 MB / 400.2 MB, free: 5.562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.1483, allocations: 7.938 kB / 400.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.1483, allocations: 13.58 kB / 400.2 MB, free: 5.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.1499, allocations: 0.7355 MB / 400.9 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/0.1533, allocations: 1.51 MB / 402.4 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004866/0.1581, allocations: 4.169 MB / 406.6 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/0.1619, allocations: 0.6438 MB / 407.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/0.1622, allocations: 184 kB / 407.4 MB, free: 14.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (bus2.isReferenceBus,bus2.isSlackBus,load1.isSlackBus,load2.isSlackBus,load3.isSlackBus,load4.isSlackBus,slack.isSlackBus,bus.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (981): * Single equations (assignments): 979 * 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.0009507/0.1631, allocations: 428.2 kB / 407.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005494/0.1637, allocations: 291.7 kB / 408.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.166, allocations: 1.517 MB / 409.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.166, allocations: 24 kB / 409.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.166, allocations: 0 / 409.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.166, allocations: 15.95 kB / 409.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/0.1699, allocations: 2.87 MB / 412.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.1699, allocations: 0 / 412.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.1705, allocations: 311.5 kB / 412.8 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.1719, allocations: 0.6837 MB / 413.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/0.172, allocations: 47.92 kB / 413.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004546/0.1765, allocations: 3.952 MB / 417.5 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1765, allocations: 4 kB / 417.5 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/0.1792, allocations: 1.559 MB / 419.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.1804, allocations: 369.2 kB / 419.4 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.1807, allocations: 36 kB / 419.5 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009713/0.1817, allocations: 91.89 kB / 419.6 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.1819, allocations: 165.7 kB / 419.7 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.469e-05/0.182, allocations: 55.91 kB / 419.8 MB, free: 1.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.183, allocations: 1.083 MB / 420.9 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.183, allocations: 0 / 420.9 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00287/0.1858, allocations: 1.655 MB / 422.5 MB, free: 14.91 MB / 394.7 MB 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.0004593/0.1863, allocations: 288.5 kB / 422.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00503/0.1913, allocations: 3.407 MB / 426.2 MB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.612e-05/0.1914, allocations: 43.84 kB / 426.3 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.1927, allocations: 1.062 MB / 427.3 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.1945, allocations: 299 kB / 427.6 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006157/0.2007, allocations: 4.304 MB / 431.9 MB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.2011, allocations: 488.4 kB / 432.4 MB, free: 4.926 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001655/0.2028, allocations: 0.5418 MB / 432.9 MB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000983/0.2038, allocations: 0.5811 MB / 433.5 MB, free: 3.801 MB / 394.7 MB Notification: Performance of SimCode: time 2.545e-06/0.2038, allocations: 4 kB / 433.5 MB, free: 3.797 MB / 394.7 MB Notification: Performance of Templates: time 0.1932/0.397, allocations: 49.33 MB / 482.9 MB, free: 71.87 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.674809445627034]