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.001271/0.001271, allocations: 110.2 kB / 19.69 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.33/1.33, allocations: 230.6 MB / 253.4 MB, free: 8.285 MB / 206.1 MB " [Timeout remaining time 179] 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.001548/0.001548, allocations: 211.2 kB / 310 MB, free: 3.148 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.5162/0.5162, allocations: 101.3 MB / 467.8 MB, free: 10.32 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_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: 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.002471/0.002471, allocations: 89.97 kB / 0.6257 GB, free: 12.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4204, allocations: 78.61 MB / 0.7024 GB, free: 9.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.004999/0.4254, allocations: 5.318 MB / 0.7076 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.4282, allocations: 1.832 MB / 0.7094 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.4286, allocations: 11.75 kB / 0.7094 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.4289, allocations: 167.1 kB / 0.7096 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.4302, allocations: 0.702 MB / 0.7103 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.431, allocations: 0.4911 MB / 0.7107 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.4321, allocations: 1.206 MB / 0.7119 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.4324, allocations: 165.7 kB / 0.7121 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005277/0.4329, allocations: 0.4978 MB / 0.7126 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006715/0.4336, allocations: 0.6141 MB / 0.7132 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.4337, allocations: 112.2 kB / 0.7133 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.4341, allocations: 264.9 kB / 0.7135 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.4343, allocations: 260 kB / 0.7138 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003436/0.4346, allocations: 0.5066 MB / 0.7143 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.4362, allocations: 1.466 MB / 0.7157 GB, free: 1.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4362, allocations: 0 / 0.7157 GB, free: 1.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4362, allocations: 3.422 kB / 0.7157 GB, free: 1.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.4362, allocations: 0 / 0.7157 GB, free: 1.023 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005221/0.4414, allocations: 1.817 MB / 0.7175 GB, free: 136 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4415, allocations: 10.53 kB / 0.7175 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002962/0.4444, allocations: 0.5306 MB / 0.718 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.4455, allocations: 0.6263 MB / 0.7186 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.4457, allocations: 204.5 kB / 0.7188 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.4459, allocations: 62.17 kB / 0.7189 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.4473, allocations: 0.7813 MB / 0.7196 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.4473, allocations: 3.156 kB / 0.7196 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.4474, allocations: 23.39 kB / 0.7197 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.4474, allocations: 12.94 kB / 0.7197 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.4487, allocations: 0.6857 MB / 0.7203 GB, free: 14.8 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.004969/0.4537, allocations: 2.851 MB / 0.7231 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.466, allocations: 2.763 MB / 0.7258 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.4671, allocations: 452.5 kB / 0.7263 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.125e-05/0.4672, allocations: 8 kB / 0.7263 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.4672, allocations: 38.86 kB / 0.7263 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=64): time 2.935e-06/0.4672, allocations: 0.75 kB / 0.7263 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64): time 0.01279/0.48, allocations: 3.438 MB / 0.7297 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.48, allocations: 88.3 kB / 0.7297 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.4814, allocations: 0.7926 MB / 0.7305 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.4815, allocations: 45.14 kB / 0.7306 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.4819, allocations: 379 kB / 0.7309 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.4822, allocations: 243.9 kB / 0.7312 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004039/0.4826, allocations: 184.5 kB / 0.7313 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4828, allocations: 347.2 kB / 0.7317 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.4839, allocations: 0.5533 MB / 0.7322 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.4852, allocations: 0.651 MB / 0.7328 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01832/0.5035, allocations: 4.136 MB / 0.7369 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.5035, allocations: 1.062 kB / 0.7369 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007379/0.5109, allocations: 2.502 MB / 0.7393 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.5109, allocations: 4.938 kB / 0.7393 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5109, allocations: 9.266 kB / 0.7393 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004092/0.515, allocations: 1.043 MB / 0.7404 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008444/0.5158, allocations: 163.9 kB / 0.7405 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.5264, allocations: 4.979 MB / 0.7454 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.5276, allocations: 121.4 kB / 0.7455 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5277, allocations: 34.2 kB / 0.7455 GB, free: 1.539 MB / 0.4981 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.001408/0.5291, allocations: 0.6948 MB / 0.7462 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001163/0.5302, allocations: 0.6439 MB / 0.7468 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01825/0.5485, allocations: 4.1 MB / 0.7508 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/0.5485, allocations: 0 / 0.7508 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.007331/0.5558, allocations: 2.485 MB / 0.7533 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5558, allocations: 4 kB / 0.7533 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5558, allocations: 4 kB / 0.7533 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004046/0.5599, allocations: 1.045 MB / 0.7543 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008026/0.5607, allocations: 159.8 kB / 0.7544 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.5712, allocations: 4.985 MB / 0.7593 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.5724, allocations: 119.4 kB / 0.7594 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.5725, allocations: 35.98 kB / 0.7595 GB, free: 5.469 MB / 0.5137 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * 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.0003647/0.5728, allocations: 232 kB / 0.7597 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.5731, allocations: 91.44 kB / 0.7598 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006131/0.5792, allocations: 2.026 MB / 0.7617 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5792, allocations: 3.984 kB / 0.7617 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5792, allocations: 0 / 0.7617 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.5795, allocations: 111.2 kB / 0.7619 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.5796, allocations: 16 kB / 0.7619 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007713/0.5804, allocations: 63.92 kB / 0.7619 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004127/0.5808, allocations: 188.3 kB / 0.7621 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004697/0.5855, allocations: 1.493 MB / 0.7636 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003042/0.5886, allocations: 1.611 MB / 0.7651 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008349/0.5894, allocations: 397 kB / 0.7655 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007525/0.5901, allocations: 0.5342 MB / 0.766 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of Backend: time 5.01e-07/0.5901, allocations: 0 / 0.766 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007548/0.5977, allocations: 2.505 MB / 0.7685 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003396/0.6011, allocations: 3.009 MB / 0.7714 GB, free: 9.051 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_1.Network1 could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.4884939261246473] Failed to read output from testmodel.py, exit status != 0: 0.6349684949964285 0.64840192 0.209415238 Calling exit ...