Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.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.001267/0.001267, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.337/1.337, allocations: 230.6 MB / 253.4 MB, free: 8.285 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.001535/0.001535, allocations: 220.4 kB / 310 MB, free: 3.117 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.5307/0.5307, allocations: 101.4 MB / 467.8 MB, free: 10.28 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.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.00261/0.00261, allocations: 79.88 kB / 0.6257 GB, free: 12.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4017, allocations: 78.62 MB / 0.7024 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network): time 0.00502/0.4067, allocations: 5.527 MB / 0.7078 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.4096, allocations: 1.867 MB / 0.7097 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.4099, allocations: 11.41 kB / 0.7097 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.4103, allocations: 177.7 kB / 0.7098 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.4117, allocations: 0.7234 MB / 0.7105 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008024/0.4125, allocations: 0.5184 MB / 0.711 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.4135, allocations: 1.258 MB / 0.7123 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.4137, allocations: 176.2 kB / 0.7124 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004762/0.4142, allocations: 0.5259 MB / 0.713 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006237/0.4148, allocations: 0.6432 MB / 0.7136 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.415, allocations: 115 kB / 0.7137 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.4154, allocations: 279.9 kB / 0.714 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.4155, allocations: 262.2 kB / 0.7142 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.4159, allocations: 0.5319 MB / 0.7147 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.4173, allocations: 1.546 MB / 0.7162 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4173, allocations: 0 / 0.7162 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4173, allocations: 0 / 0.7162 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.4173, allocations: 0 / 0.7162 GB, free: 0.6836 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0052/0.4225, allocations: 1.885 MB / 0.7181 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.4225, allocations: 9.281 kB / 0.7181 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.4256, allocations: 0.5384 MB / 0.7186 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4267, allocations: 0.6614 MB / 0.7193 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.427, allocations: 310.4 kB / 0.7196 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.4271, allocations: 70.7 kB / 0.7196 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.4287, allocations: 0.8396 MB / 0.7204 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.4287, allocations: 0.6562 kB / 0.7204 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.4288, allocations: 25.25 kB / 0.7205 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4288, allocations: 13.12 kB / 0.7205 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.4301, allocations: 0.7272 MB / 0.7212 GB, free: 14.24 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.005413/0.4356, allocations: 3.121 MB / 0.7242 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/0.4477, allocations: 2.781 MB / 0.727 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.449, allocations: 466.7 kB / 0.7274 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.382e-05/0.4491, allocations: 14.2 kB / 0.7274 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4491, allocations: 37.66 kB / 0.7274 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=69): time 2.785e-06/0.4491, allocations: 1.625 kB / 0.7274 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69): time 0.01186/0.461, allocations: 3.36 MB / 0.7307 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.461, allocations: 85.77 kB / 0.7308 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.4623, allocations: 0.8044 MB / 0.7316 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.4624, allocations: 40.67 kB / 0.7316 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.4628, allocations: 402.4 kB / 0.732 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.4631, allocations: 265.9 kB / 0.7323 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/0.4634, allocations: 191.8 kB / 0.7325 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4636, allocations: 346.2 kB / 0.7328 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.4646, allocations: 0.5634 MB / 0.7333 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.4659, allocations: 0.6825 MB / 0.734 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/0.4843, allocations: 4.205 MB / 0.7381 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.4843, allocations: 3.938 kB / 0.7381 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.007485/0.4918, allocations: 2.572 MB / 0.7406 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4918, allocations: 5.719 kB / 0.7406 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4918, allocations: 2.688 kB / 0.7406 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004108/0.4959, allocations: 1.09 MB / 0.7417 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009544/0.4969, allocations: 176.8 kB / 0.7419 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.508, allocations: 5.265 MB / 0.747 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.5093, allocations: 134.5 kB / 0.7471 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.5094, allocations: 35.73 kB / 0.7472 GB, free: 344 kB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real 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.001491/0.5109, allocations: 0.7175 MB / 0.7479 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0012/0.5121, allocations: 0.6682 MB / 0.7485 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01862/0.5307, allocations: 4.173 MB / 0.7526 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.592e-06/0.5307, allocations: 4 kB / 0.7526 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.007595/0.5383, allocations: 2.552 MB / 0.7551 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5384, allocations: 4 kB / 0.7551 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5384, allocations: 4 kB / 0.7551 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004136/0.5425, allocations: 1.09 MB / 0.7562 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009083/0.5434, allocations: 167.7 kB / 0.7563 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.5546, allocations: 5.26 MB / 0.7615 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.5559, allocations: 115.5 kB / 0.7616 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.556, allocations: 39.92 kB / 0.7616 GB, free: 3.203 MB / 0.5137 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real 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: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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,15,45.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003671/0.5564, allocations: 233.2 kB / 0.7618 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.5566, allocations: 99.31 kB / 0.7619 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006248/0.5628, allocations: 2.104 MB / 0.764 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5628, allocations: 3.984 kB / 0.764 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5628, allocations: 0 / 0.764 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.5631, allocations: 115.2 kB / 0.7641 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.5632, allocations: 16 kB / 0.7641 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/0.564, allocations: 63.92 kB / 0.7642 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/0.5644, allocations: 192.3 kB / 0.7644 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004767/0.5691, allocations: 1.556 MB / 0.7659 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003142/0.5723, allocations: 1.654 MB / 0.7675 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008818/0.5732, allocations: 417 kB / 0.7679 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007495/0.5739, allocations: 0.542 MB / 0.7684 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of Backend: time 5.51e-07/0.5739, allocations: 0 / 0.7684 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007788/0.5817, allocations: 2.631 MB / 0.771 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003376/0.5851, allocations: 3.125 MB / 0.774 GB, free: 6.316 MB / 0.5294 GB [CodegenCpp.tpl:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 0: time >= pwLine1.t1 and time < pwLine1.t2. [CodegenCpp.tpl:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 3: time >= pwLine2.t1 and time < pwLine2.t2. [CodegenCpp.tpl:12297:11-12297: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_1Mod.Network could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.486542565980926] Failed to read output from testmodel.py, exit status != 0: 0.6179492920637131 0.631044794 0.21088136799999996 Calling exit ...