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.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.329/1.329, allocations: 230.6 MB / 253.4 MB, free: 8.289 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.001485/0.001485, allocations: 216.8 kB / 310 MB, free: 3.172 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.5161/0.5161, allocations: 101.4 MB / 467.8 MB, free: 10.31 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.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.002532/0.002532, allocations: 87.88 kB / 0.6257 GB, free: 12.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.409, allocations: 78.61 MB / 0.7024 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.005106/0.4141, allocations: 5.61 MB / 0.7079 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.4168, allocations: 1.847 MB / 0.7097 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.4171, allocations: 12.53 kB / 0.7097 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.4175, allocations: 188 kB / 0.7099 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.4188, allocations: 0.7316 MB / 0.7106 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.4196, allocations: 0.5016 MB / 0.7111 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.4206, allocations: 1.276 MB / 0.7124 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.4209, allocations: 179.7 kB / 0.7125 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005327/0.4214, allocations: 0.5331 MB / 0.713 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006527/0.4221, allocations: 0.6458 MB / 0.7137 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.4222, allocations: 115.7 kB / 0.7138 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.4226, allocations: 277.2 kB / 0.7141 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.4228, allocations: 268.3 kB / 0.7143 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003506/0.4231, allocations: 0.5453 MB / 0.7148 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.4246, allocations: 1.562 MB / 0.7164 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4246, allocations: 0 / 0.7164 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4246, allocations: 0 / 0.7164 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.4246, allocations: 4 kB / 0.7164 GB, free: 0.7969 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.005277/0.4299, allocations: 1.892 MB / 0.7182 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4299, allocations: 11.84 kB / 0.7182 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/0.4331, allocations: 0.5384 MB / 0.7188 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.4342, allocations: 0.6653 MB / 0.7194 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.4345, allocations: 333.3 kB / 0.7197 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.4346, allocations: 75.02 kB / 0.7198 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.4363, allocations: 0.8486 MB / 0.7206 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4363, allocations: 0 / 0.7206 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.4364, allocations: 27.14 kB / 0.7206 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.4364, allocations: 17.94 kB / 0.7207 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.4377, allocations: 0.7238 MB / 0.7214 GB, free: 14.28 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.005895/0.4436, allocations: 3.308 MB / 0.7246 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007288/0.4509, allocations: 1.757 MB / 0.7263 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009073/0.4518, allocations: 439.5 kB / 0.7267 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.959e-05/0.4519, allocations: 12.39 kB / 0.7267 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.4519, allocations: 43.41 kB / 0.7268 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=72): time 2.474e-06/0.4519, allocations: 0 / 0.7268 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72): time 0.01173/0.4637, allocations: 3.119 MB / 0.7298 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.4637, allocations: 93.88 kB / 0.7299 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.4649, allocations: 0.7989 MB / 0.7307 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.992e-05/0.465, allocations: 36.02 kB / 0.7307 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.4654, allocations: 408.7 kB / 0.7311 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.4657, allocations: 279 kB / 0.7314 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.466, allocations: 192.9 kB / 0.7316 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4662, allocations: 351 kB / 0.7319 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.4672, allocations: 0.549 MB / 0.7325 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.4683, allocations: 0.65 MB / 0.7331 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/0.4866, allocations: 4.075 MB / 0.7371 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.4866, allocations: 1.094 kB / 0.7371 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006806/0.4934, allocations: 2.347 MB / 0.7394 GB, free: 5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4935, allocations: 5.062 kB / 0.7394 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4935, allocations: 2.75 kB / 0.7394 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/0.4975, allocations: 1.001 MB / 0.7403 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/0.4984, allocations: 180.1 kB / 0.7405 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009917/0.5083, allocations: 4.773 MB / 0.7452 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.5097, allocations: 115.7 kB / 0.7453 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.5099, allocations: 32.94 kB / 0.7453 GB, free: 1.074 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.001666/0.5116, allocations: 0.7027 MB / 0.746 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001468/0.513, allocations: 0.6394 MB / 0.7466 GB, free: 284 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02/0.533, allocations: 4.049 MB / 0.7506 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.282e-06/0.533, allocations: 0 / 0.7506 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.007117/0.5401, allocations: 2.324 MB / 0.7529 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5402, allocations: 4 kB / 0.7529 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5402, allocations: 8 kB / 0.7529 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004043/0.5442, allocations: 0.9979 MB / 0.7538 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008841/0.5451, allocations: 163.7 kB / 0.754 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009799/0.5549, allocations: 4.784 MB / 0.7587 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.5563, allocations: 103.4 kB / 0.7588 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/0.5565, allocations: 35.98 kB / 0.7588 GB, free: 6.211 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: 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 (106): * Single equations (assignments): 103 * 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.0005316/0.557, allocations: 240.1 kB / 0.759 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.5573, allocations: 99.33 kB / 0.7591 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005673/0.563, allocations: 1.87 MB / 0.7609 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.563, allocations: 3.984 kB / 0.761 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.563, allocations: 384 / 0.761 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.5633, allocations: 115.2 kB / 0.7611 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.5635, allocations: 12 kB / 0.7611 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.5643, allocations: 59.94 kB / 0.7611 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/0.5647, allocations: 180.2 kB / 0.7613 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004656/0.5694, allocations: 1.448 MB / 0.7627 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003013/0.5724, allocations: 1.596 MB / 0.7643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008036/0.5732, allocations: 393 kB / 0.7647 GB, free: 160 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008607/0.5741, allocations: 0.5382 MB / 0.7652 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of Backend: time 3.21e-07/0.5741, allocations: 0 / 0.7652 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007638/0.5817, allocations: 2.513 MB / 0.7676 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003947/0.5856, allocations: 3.189 MB / 0.7707 GB, free: 9.824 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. Error: Internal error SimCode DAEmode: The model OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.469327454222366] Failed to read output from testmodel.py, exit status != 0: 0.6221191349904984 0.6366602570000001 0.209009838 Calling exit ...