Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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.001544/0.001544, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.395/1.395, 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.001517/0.001517, allocations: 209.7 kB / 310 MB, free: 3.121 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5945/0.5945, allocations: 107.2 MB / 473.6 MB, free: 30.03 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") [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.002468/0.002468, allocations: 90.38 kB / 0.6343 GB, free: 29.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1299, allocations: 80.14 MB / 0.7125 GB, free: 7.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.00676/0.1367, allocations: 5.282 MB / 0.7177 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003965/0.1407, allocations: 2.102 MB / 0.7197 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004053/0.1411, allocations: 11.94 kB / 0.7198 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006595/0.1417, allocations: 238.1 kB / 0.72 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.1435, allocations: 0.8127 MB / 0.7208 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.145, allocations: 0.7131 MB / 0.7215 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.147, allocations: 1.909 MB / 0.7233 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.1473, allocations: 189.8 kB / 0.7235 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009243/0.1483, allocations: 0.7241 MB / 0.7242 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.1495, allocations: 0.7428 MB / 0.7249 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003234/0.1498, allocations: 167.9 kB / 0.7251 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007004/0.1505, allocations: 303.9 kB / 0.7254 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000375/0.1509, allocations: 370.6 kB / 0.7258 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005926/0.1515, allocations: 0.5364 MB / 0.7263 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.154, allocations: 2.02 MB / 0.7282 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.154, allocations: 0 / 0.7282 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.154, allocations: 0 / 0.7282 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.154, allocations: 0 / 0.7282 GB, free: 7.035 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.007219/0.1613, allocations: 2.249 MB / 0.7304 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1613, allocations: 8.031 kB / 0.7305 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003407/0.1647, allocations: 0.5582 MB / 0.731 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.1667, allocations: 0.9509 MB / 0.7319 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.1671, allocations: 364 kB / 0.7323 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.1673, allocations: 79.98 kB / 0.7323 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.1693, allocations: 1.01 MB / 0.7333 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1693, allocations: 3.938 kB / 0.7333 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.184e-05/0.1694, allocations: 32 kB / 0.7334 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.1694, allocations: 16 kB / 0.7334 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.1714, allocations: 0.907 MB / 0.7343 GB, free: 0.6914 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.006231/0.1776, allocations: 2.84 MB / 0.737 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/0.1909, allocations: 3.073 MB / 0.74 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.1923, allocations: 0.531 MB / 0.7406 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.668e-05/0.1924, allocations: 12.66 kB / 0.7406 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.1924, allocations: 43.22 kB / 0.7406 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=76): time 2.926e-06/0.1924, allocations: 0 / 0.7406 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76): time 0.01366/0.2061, allocations: 3.714 MB / 0.7442 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.2061, allocations: 111.5 kB / 0.7443 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.2083, allocations: 1.136 MB / 0.7455 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.2085, allocations: 41.7 kB / 0.7455 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/0.2089, allocations: 477 kB / 0.746 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.2092, allocations: 301.5 kB / 0.7462 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004158/0.2096, allocations: 202.9 kB / 0.7464 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.2098, allocations: 345.9 kB / 0.7468 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.2112, allocations: 0.6541 MB / 0.7474 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.2128, allocations: 0.8214 MB / 0.7482 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02033/0.2331, allocations: 4.617 MB / 0.7527 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.2331, allocations: 0 / 0.7527 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.008249/0.2414, allocations: 2.747 MB / 0.7554 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2414, allocations: 8 kB / 0.7554 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2414, allocations: 0 / 0.7554 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004251/0.2457, allocations: 1.043 MB / 0.7564 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.2469, allocations: 219.6 kB / 0.7566 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.258, allocations: 4.842 MB / 0.7614 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.2597, allocations: 167.3 kB / 0.7615 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.2598, allocations: 43.98 kB / 0.7616 GB, free: 4.379 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001883/0.2617, allocations: 0.8344 MB / 0.7624 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001506/0.2632, allocations: 0.7903 MB / 0.7631 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01992/0.2831, allocations: 4.547 MB / 0.7676 GB, free: 14.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.071e-06/0.2831, allocations: 7.938 kB / 0.7676 GB, free: 14.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.00803/0.2911, allocations: 2.688 MB / 0.7702 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2912, allocations: 11.94 kB / 0.7702 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2912, allocations: 3.984 kB / 0.7702 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004203/0.2954, allocations: 1.042 MB / 0.7713 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.2966, allocations: 207.7 kB / 0.7715 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.3074, allocations: 4.832 MB / 0.7762 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.3091, allocations: 159.3 kB / 0.7763 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.856e-05/0.3092, allocations: 35.98 kB / 0.7764 GB, free: 5.023 MB / 0.545 GB Warning: Assuming fixed start value for the following 1 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (116): * Single equations (assignments): 113 * 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.0003635/0.3095, allocations: 243.9 kB / 0.7766 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/0.3097, allocations: 115.2 kB / 0.7767 GB, free: 4.664 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006879/0.3166, allocations: 2.263 MB / 0.7789 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3166, allocations: 3.984 kB / 0.7789 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3166, allocations: 0 / 0.7789 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.317, allocations: 143.1 kB / 0.7791 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.3172, allocations: 23.98 kB / 0.7791 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.3183, allocations: 103.9 kB / 0.7792 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004425/0.3188, allocations: 200.3 kB / 0.7794 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005596/0.3244, allocations: 1.759 MB / 0.7811 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004178/0.3285, allocations: 2.015 MB / 0.783 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001167/0.3297, allocations: 0.5009 MB / 0.7835 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001595/0.3313, allocations: 0.7951 MB / 0.7843 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of Backend: time 5.81e-07/0.3313, allocations: 3.938 kB / 0.7843 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008425/0.3397, allocations: 2.737 MB / 0.787 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0041/0.3438, allocations: 2.935 MB / 0.7899 GB, free: 7.02 MB / 0.5606 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. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 7: time < pwFault.t2 and pwFault.ground. Error: Internal error SimCode DAEmode: The model OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.7126695131883025] Failed to read output from testmodel.py, exit status != 0: 0.6470176964066923 0.6587576589999999 0.502215754 Calling exit ...