Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.001287/0.001287, allocations: 80.25 kB / 19.18 MB, free: 2.527 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.333/1.333, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.1 MB " [Timeout remaining time 178] 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.001576/0.001576, allocations: 165 kB / 256 MB, free: 4.316 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5667/0.5667, allocations: 80.36 MB / 392.7 MB, free: 29.64 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5554 GB, free: 14.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.986e-05, allocations: 6.812 kB / 0.5555 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.004978/0.004998, allocations: 4.713 MB / 0.5601 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.008386, allocations: 1.718 MB / 0.5617 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.008785, allocations: 10.31 kB / 0.5617 GB, free: 9.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.009172, allocations: 164 kB / 0.5619 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.01071, allocations: 0.7074 MB / 0.5626 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009543/0.01166, allocations: 497.4 kB / 0.5631 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.01278, allocations: 1.239 MB / 0.5643 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.01304, allocations: 159.5 kB / 0.5644 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006765/0.01371, allocations: 0.7059 MB / 0.5651 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.01427, allocations: 494 kB / 0.5656 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.01443, allocations: 113.6 kB / 0.5657 GB, free: 7.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005118/0.01494, allocations: 254.8 kB / 0.5659 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.01511, allocations: 256.5 kB / 0.5662 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003064/0.01542, allocations: 366.8 kB / 0.5665 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.01664, allocations: 1.515 MB / 0.568 GB, free: 5.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.01664, allocations: 1.156 kB / 0.568 GB, free: 5.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01664, allocations: 0 / 0.568 GB, free: 5.668 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.01666, allocations: 0 / 0.568 GB, free: 5.668 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.00528/0.02194, allocations: 1.813 MB / 0.5698 GB, free: 4.496 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.02198, allocations: 12.5 kB / 0.5698 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003312/0.02529, allocations: 0.5311 MB / 0.5703 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.02632, allocations: 0.6228 MB / 0.5709 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.02649, allocations: 194.5 kB / 0.5711 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.0266, allocations: 61.52 kB / 0.5712 GB, free: 3.559 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.02804, allocations: 0.8149 MB / 0.572 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.02806, allocations: 3.938 kB / 0.572 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.02813, allocations: 20.62 kB / 0.572 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.02814, allocations: 12.16 kB / 0.572 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.02953, allocations: 0.6802 MB / 0.5727 GB, free: 2.703 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.004242/0.03377, allocations: 2.212 MB / 0.5748 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.04606, allocations: 2.75 MB / 0.5775 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.04718, allocations: 446.6 kB / 0.5779 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.04726, allocations: 8.656 kB / 0.5779 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.04729, allocations: 39.16 kB / 0.578 GB, free: 14.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 3.146e-06/0.04729, allocations: 4 kB / 0.578 GB, free: 14.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=64): time 0.01348/0.06077, allocations: 3.441 MB / 0.5813 GB, free: 11.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.06084, allocations: 85.77 kB / 0.5814 GB, free: 11.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.06204, allocations: 0.7781 MB / 0.5822 GB, free: 10.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.06215, allocations: 45.7 kB / 0.5822 GB, free: 10.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.06247, allocations: 381 kB / 0.5826 GB, free: 10.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.06273, allocations: 245.9 kB / 0.5828 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003549/0.06308, allocations: 178.6 kB / 0.583 GB, free: 9.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.06324, allocations: 341.9 kB / 0.5833 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.0644, allocations: 0.5436 MB / 0.5839 GB, free: 8.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.06567, allocations: 0.6712 MB / 0.5845 GB, free: 8.145 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01972/0.08539, allocations: 4.122 MB / 0.5885 GB, free: 3.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.0854, allocations: 3.938 kB / 0.5885 GB, free: 3.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.007991/0.09339, allocations: 2.474 MB / 0.591 GB, free: 1.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.09341, allocations: 7.938 kB / 0.591 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.09343, allocations: 4 kB / 0.591 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004479/0.09791, allocations: 1.042 MB / 0.592 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.09891, allocations: 175.7 kB / 0.5922 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.1105, allocations: 4.834 MB / 0.5969 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.112, allocations: 123.3 kB / 0.597 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.1122, allocations: 31.98 kB / 0.597 GB, free: 11.17 MB / 462.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001787/0.114, allocations: 0.697 MB / 0.5977 GB, free: 10.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00129/0.1153, allocations: 0.6595 MB / 0.5983 GB, free: 9.777 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0198/0.1351, allocations: 4.095 MB / 0.6023 GB, free: 5.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.039e-06/0.1351, allocations: 0 / 0.6023 GB, free: 5.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.007943/0.143, allocations: 2.462 MB / 0.6047 GB, free: 3.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.143, allocations: 4 kB / 0.6048 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1431, allocations: 4 kB / 0.6048 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00442/0.1475, allocations: 1.029 MB / 0.6058 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.1483, allocations: 167.7 kB / 0.6059 GB, free: 1.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.1596, allocations: 4.837 MB / 0.6106 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.161, allocations: 115.4 kB / 0.6108 GB, free: 12.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.1612, allocations: 39.92 kB / 0.6108 GB, free: 12.88 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003906/0.1616, allocations: 224.1 kB / 0.611 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.1618, allocations: 91.39 kB / 0.6111 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006681/0.1685, allocations: 2.026 MB / 0.6131 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.1685, allocations: 7.984 kB / 0.6131 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1685, allocations: 0 / 0.6131 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.1688, allocations: 103.3 kB / 0.6132 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/0.169, allocations: 12 kB / 0.6132 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000877/0.1699, allocations: 59.94 kB / 0.6132 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004537/0.1703, allocations: 196.3 kB / 0.6134 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005153/0.1755, allocations: 1.495 MB / 0.6149 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003412/0.1789, allocations: 1.607 MB / 0.6165 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009397/0.1798, allocations: 397 kB / 0.6168 GB, free: 6.617 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009861/0.1808, allocations: 0.5264 MB / 0.6174 GB, free: 6.094 MB / 478.1 MB Notification: Performance of Backend: time 6.22e-07/0.1808, allocations: 0 / 0.6174 GB, free: 6.094 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008994/0.1898, allocations: 2.492 MB / 0.6198 GB, free: 3.559 MB / 478.1 MB Notification: Performance of SimCode: time 0.002807/0.1926, allocations: 2.08 MB / 0.6218 GB, free: 1.43 MB / 478.1 MB Notification: Performance of Templates: time 0.04325/0.2359, allocations: 26.35 MB / 0.6476 GB, free: 7.219 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.074603632092476] Failed to read output from testmodel.py, exit status != 0: 0.24472714588046074 0.260831757 0.24106385000000002 Calling exit ...