Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.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.001492/0.001492, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.392/1.392, allocations: 230.6 MB / 253.4 MB, free: 14.28 MB / 206.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.001749/0.001749, allocations: 218.2 kB / 310 MB, free: 3.125 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.5905/0.5905, allocations: 107.3 MB / 473.7 MB, free: 29.86 MB / 350.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.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL 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.00242/0.00242, allocations: 85.78 kB / 0.6344 GB, free: 29.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1209, allocations: 80.18 MB / 0.7127 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.006524/0.1274, allocations: 4.964 MB / 0.7176 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.1309, allocations: 1.743 MB / 0.7193 GB, free: 328 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005943/0.1315, allocations: 11.94 kB / 0.7193 GB, free: 316 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.132, allocations: 186.4 kB / 0.7195 GB, free: 128 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.1339, allocations: 0.7162 MB / 0.7202 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.135, allocations: 0.4964 MB / 0.7207 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.1365, allocations: 1.261 MB / 0.7219 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.1368, allocations: 179 kB / 0.7221 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006118/0.1374, allocations: 0.533 MB / 0.7226 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000726/0.1381, allocations: 0.5871 MB / 0.7232 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.1383, allocations: 116 kB / 0.7233 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.1387, allocations: 259.9 kB / 0.7235 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.139, allocations: 271 kB / 0.7238 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.1394, allocations: 449.6 kB / 0.7242 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.1409, allocations: 1.584 MB / 0.7258 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1409, allocations: 0 / 0.7258 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1409, allocations: 0 / 0.7258 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.141, allocations: 0 / 0.7258 GB, free: 9.676 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.005434/0.1464, allocations: 1.899 MB / 0.7276 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1464, allocations: 8.031 kB / 0.7276 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.1496, allocations: 0.5427 MB / 0.7282 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.1508, allocations: 0.6599 MB / 0.7288 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.1511, allocations: 334.3 kB / 0.7291 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.1512, allocations: 79.94 kB / 0.7292 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.1527, allocations: 0.8712 MB / 0.73 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1528, allocations: 0 / 0.73 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.077e-05/0.1528, allocations: 24 kB / 0.7301 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.1529, allocations: 16 kB / 0.7301 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.1543, allocations: 0.7196 MB / 0.7308 GB, free: 4.383 MB / 0.4981 GB 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.004987/0.1593, allocations: 2.43 MB / 0.7332 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00731/0.1666, allocations: 1.738 MB / 0.7349 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009025/0.1675, allocations: 438.6 kB / 0.7353 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-05/0.1675, allocations: 8.656 kB / 0.7353 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1676, allocations: 47.16 kB / 0.7353 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 2.434e-06/0.1676, allocations: 3.938 kB / 0.7353 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.01104/0.1786, allocations: 3.125 MB / 0.7384 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.1787, allocations: 85.77 kB / 0.7385 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.1798, allocations: 0.782 MB / 0.7392 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-05/0.1799, allocations: 41.7 kB / 0.7393 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.1802, allocations: 420.9 kB / 0.7397 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.1805, allocations: 269.7 kB / 0.7399 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.1808, allocations: 186.9 kB / 0.7401 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.181, allocations: 345.9 kB / 0.7404 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.1821, allocations: 0.5448 MB / 0.741 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.1832, allocations: 0.6742 MB / 0.7416 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01784/0.2011, allocations: 4.056 MB / 0.7456 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.2011, allocations: 8 kB / 0.7456 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.006561/0.2076, allocations: 2.326 MB / 0.7479 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.2077, allocations: 7.984 kB / 0.7479 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2077, allocations: 4 kB / 0.7479 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004078/0.2118, allocations: 0.9905 MB / 0.7488 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.2128, allocations: 167.7 kB / 0.749 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009572/0.2224, allocations: 4.64 MB / 0.7535 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.2236, allocations: 111.4 kB / 0.7536 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/0.2237, allocations: 35.98 kB / 0.7537 GB, free: 12.61 MB / 0.5294 GB 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.001364/0.225, allocations: 0.69 MB / 0.7543 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001129/0.2262, allocations: 0.6586 MB / 0.755 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01765/0.2438, allocations: 4.029 MB / 0.7589 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.2438, allocations: 0 / 0.7589 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.006569/0.2504, allocations: 2.298 MB / 0.7612 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2504, allocations: 4 kB / 0.7612 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.2504, allocations: 7.938 kB / 0.7612 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/0.2543, allocations: 0.9938 MB / 0.7621 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009023/0.2552, allocations: 163.7 kB / 0.7623 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009305/0.2645, allocations: 4.642 MB / 0.7668 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.2657, allocations: 99.47 kB / 0.7669 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/0.2658, allocations: 39.98 kB / 0.767 GB, free: 14.79 MB / 0.545 GB 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: 2 (breaker2.Open,breaker1.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 100 * 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 {(9,17,54.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003438/0.2661, allocations: 243.9 kB / 0.7672 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.2663, allocations: 95.44 kB / 0.7673 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005306/0.2716, allocations: 1.87 MB / 0.7691 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.2716, allocations: 4.359 kB / 0.7691 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2716, allocations: 0 / 0.7691 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.2719, allocations: 107.2 kB / 0.7692 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.272, allocations: 19.94 kB / 0.7692 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007216/0.2727, allocations: 59.83 kB / 0.7693 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/0.2731, allocations: 176.3 kB / 0.7695 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004528/0.2776, allocations: 1.448 MB / 0.7709 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002891/0.2805, allocations: 1.595 MB / 0.7724 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000793/0.2813, allocations: 385 kB / 0.7728 GB, free: 8.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007024/0.282, allocations: 0.5341 MB / 0.7733 GB, free: 8.211 MB / 0.545 GB Notification: Performance of Backend: time 2.51e-07/0.282, allocations: 0 / 0.7733 GB, free: 8.211 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007129/0.2891, allocations: 2.504 MB / 0.7758 GB, free: 5.66 MB / 0.545 GB Notification: Performance of SimCode: time 0.003205/0.2923, allocations: 2.573 MB / 0.7783 GB, free: 3.031 MB / 0.545 GB [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 0: time >= pwLine1.t1 and time < pwLine1.t2. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 3: time >= pwLine2.t1 and time < pwLine2.t2. Error: Internal error SimCode DAEmode: The model OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.3572762268595397] Failed to read output from testmodel.py, exit status != 0: 0.32546829199418426 0.339965587 0.196034702 Calling exit ...