Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001442/0.001442, 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.326/1.326, 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.001499/0.001499, allocations: 209.3 kB / 310 MB, free: 3.156 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.5077/0.5077, 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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.002415/0.002415, allocations: 95.84 kB / 0.6257 GB, free: 12.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3891, allocations: 78.6 MB / 0.7024 GB, free: 9.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.005306/0.3944, allocations: 6.031 MB / 0.7083 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.3978, allocations: 2.201 MB / 0.7105 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005649/0.3983, allocations: 13.66 kB / 0.7105 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.3989, allocations: 240.3 kB / 0.7107 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.4005, allocations: 0.8186 MB / 0.7115 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.4017, allocations: 0.731 MB / 0.7122 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.4033, allocations: 1.922 MB / 0.7141 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.4036, allocations: 199.5 kB / 0.7143 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007797/0.4043, allocations: 0.7238 MB / 0.715 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007998/0.4051, allocations: 0.8139 MB / 0.7158 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.4053, allocations: 163.2 kB / 0.7159 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.4058, allocations: 310.6 kB / 0.7162 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.406, allocations: 371.2 kB / 0.7166 GB, free: 304 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.4065, allocations: 0.6653 MB / 0.7172 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.4087, allocations: 2.006 MB / 0.7192 GB, free: 15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4087, allocations: 0 / 0.7192 GB, free: 15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4087, allocations: 0 / 0.7192 GB, free: 15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.4087, allocations: 0 / 0.7192 GB, free: 15 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.006855/0.4156, allocations: 2.246 MB / 0.7214 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4156, allocations: 10.47 kB / 0.7214 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.4188, allocations: 0.5603 MB / 0.7219 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.4207, allocations: 0.9523 MB / 0.7229 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/0.421, allocations: 374.9 kB / 0.7232 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.4212, allocations: 69.97 kB / 0.7233 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.423, allocations: 0.9705 MB / 0.7242 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4231, allocations: 0.75 kB / 0.7242 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.622e-05/0.4232, allocations: 29.55 kB / 0.7243 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.4232, allocations: 14.91 kB / 0.7243 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.4252, allocations: 0.9104 MB / 0.7252 GB, free: 12.04 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.006576/0.4317, allocations: 3.579 MB / 0.7287 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/0.4446, allocations: 3.08 MB / 0.7317 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.446, allocations: 0.5365 MB / 0.7322 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.633e-05/0.4461, allocations: 13.12 kB / 0.7322 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.4461, allocations: 46.97 kB / 0.7323 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/0.4461, allocations: 0 / 0.7323 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76): time 0.01317/0.4593, allocations: 3.713 MB / 0.7359 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/0.4594, allocations: 112.1 kB / 0.736 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.4616, allocations: 1.173 MB / 0.7371 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/0.4617, allocations: 40.2 kB / 0.7372 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.4621, allocations: 473.6 kB / 0.7376 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.4624, allocations: 288.8 kB / 0.7379 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003991/0.4628, allocations: 207.8 kB / 0.7381 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.463, allocations: 346.6 kB / 0.7384 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.4643, allocations: 0.6569 MB / 0.7391 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.4658, allocations: 0.7852 MB / 0.7398 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01956/0.4854, allocations: 4.63 MB / 0.7444 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4854, allocations: 1.031 kB / 0.7444 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00791/0.4933, allocations: 2.758 MB / 0.7471 GB, free: 164 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.4933, allocations: 5.438 kB / 0.7471 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4933, allocations: 5.094 kB / 0.7471 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004193/0.4975, allocations: 1.051 MB / 0.7481 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.4987, allocations: 225.2 kB / 0.7483 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.5094, allocations: 4.981 MB / 0.7532 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.5112, allocations: 175.2 kB / 0.7533 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.5113, allocations: 39.92 kB / 0.7534 GB, free: 11.84 MB / 0.5137 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.001804/0.5131, allocations: 0.8422 MB / 0.7542 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001418/0.5145, allocations: 0.7479 MB / 0.7549 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01954/0.5341, allocations: 4.567 MB / 0.7594 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.798e-06/0.5341, allocations: 0 / 0.7594 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.007987/0.5421, allocations: 2.708 MB / 0.762 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5421, allocations: 9.406 kB / 0.762 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5421, allocations: 0 / 0.762 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00408/0.5462, allocations: 1.042 MB / 0.7631 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.5473, allocations: 215.6 kB / 0.7633 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.5581, allocations: 4.985 MB / 0.7681 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.5599, allocations: 163.3 kB / 0.7683 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.56, allocations: 39.98 kB / 0.7683 GB, free: 12.32 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: 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 (119): * Single equations (assignments): 116 * 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.0003741/0.5604, allocations: 228 kB / 0.7685 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.5606, allocations: 119.2 kB / 0.7687 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006844/0.5674, allocations: 2.267 MB / 0.7709 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.5675, allocations: 3.984 kB / 0.7709 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5675, allocations: 0 / 0.7709 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.5678, allocations: 155 kB / 0.771 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.5679, allocations: 20 kB / 0.771 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.5691, allocations: 103.9 kB / 0.7711 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000436/0.5695, allocations: 204.2 kB / 0.7713 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005528/0.575, allocations: 1.76 MB / 0.7731 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004091/0.5791, allocations: 2.016 MB / 0.775 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001104/0.5802, allocations: 0.5009 MB / 0.7755 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001608/0.5818, allocations: 0.8192 MB / 0.7763 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of Backend: time 3.71e-07/0.5818, allocations: 0 / 0.7763 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008004/0.5898, allocations: 2.737 MB / 0.779 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004015/0.5939, allocations: 3.545 MB / 0.7824 GB, free: 13.7 MB / 0.545 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_2.Network could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.449953030096367] Failed to read output from testmodel.py, exit status != 0: 0.6316950668115169 0.645786465 0.23415957 Calling exit ...