Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001256/0.001256, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.401/1.401, allocations: 230.6 MB / 253.4 MB, free: 14.31 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.001528/0.001528, allocations: 218.8 kB / 310 MB, free: 3.051 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.5838/0.5838, allocations: 107.2 MB / 473.6 MB, free: 29.66 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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.002583/0.002583, allocations: 86.05 kB / 0.6343 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.14, allocations: 80.16 MB / 0.7125 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network): time 0.006366/0.1464, allocations: 4.876 MB / 0.7173 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.1499, allocations: 1.755 MB / 0.719 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.1503, allocations: 8 kB / 0.719 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.1508, allocations: 182.4 kB / 0.7192 GB, free: 360 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.1524, allocations: 0.7054 MB / 0.7199 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1534, allocations: 0.4986 MB / 0.7204 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.1547, allocations: 1.257 MB / 0.7216 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.155, allocations: 174.9 kB / 0.7218 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006371/0.1556, allocations: 0.5214 MB / 0.7223 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/0.1564, allocations: 0.5832 MB / 0.7228 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.1565, allocations: 116 kB / 0.723 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004933/0.157, allocations: 267.9 kB / 0.7232 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.1573, allocations: 267 kB / 0.7235 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.1577, allocations: 453.6 kB / 0.7239 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.1593, allocations: 1.545 MB / 0.7254 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1593, allocations: 0 / 0.7254 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1593, allocations: 0 / 0.7254 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.837e-05/0.1593, allocations: 0 / 0.7254 GB, free: 9.965 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.005917/0.1653, allocations: 1.883 MB / 0.7272 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1653, allocations: 12.03 kB / 0.7273 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/0.1686, allocations: 0.5388 MB / 0.7278 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.1699, allocations: 0.6483 MB / 0.7284 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.1702, allocations: 316.6 kB / 0.7287 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.1704, allocations: 67.95 kB / 0.7288 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.1721, allocations: 0.8673 MB / 0.7296 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1721, allocations: 4 kB / 0.7296 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-05/0.1722, allocations: 24 kB / 0.7297 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1722, allocations: 12 kB / 0.7297 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.1738, allocations: 0.7157 MB / 0.7304 GB, free: 4.742 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.005297/0.1791, allocations: 2.374 MB / 0.7327 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.1915, allocations: 2.784 MB / 0.7354 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.1927, allocations: 463.6 kB / 0.7358 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.778e-05/0.1927, allocations: 8.656 kB / 0.7359 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1928, allocations: 39.22 kB / 0.7359 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=69): time 3.687e-06/0.1928, allocations: 0 / 0.7359 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69): time 0.01243/0.2052, allocations: 3.355 MB / 0.7392 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.2053, allocations: 81.77 kB / 0.7392 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.2065, allocations: 0.7938 MB / 0.74 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.563e-05/0.2066, allocations: 37.7 kB / 0.7401 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.2069, allocations: 400.9 kB / 0.7404 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.2072, allocations: 269.7 kB / 0.7407 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.2075, allocations: 186.6 kB / 0.7409 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2077, allocations: 345.9 kB / 0.7412 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.2089, allocations: 0.5634 MB / 0.7418 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.2102, allocations: 0.705 MB / 0.7424 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01835/0.2286, allocations: 4.182 MB / 0.7465 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2286, allocations: 7.938 kB / 0.7465 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.007711/0.2363, allocations: 2.548 MB / 0.749 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2363, allocations: 8 kB / 0.749 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.2363, allocations: 7.938 kB / 0.749 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004303/0.2406, allocations: 1.085 MB / 0.7501 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.2415, allocations: 167.7 kB / 0.7503 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.2531, allocations: 5.124 MB / 0.7553 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.2544, allocations: 123.3 kB / 0.7554 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.2545, allocations: 35.98 kB / 0.7554 GB, free: 10.75 MB / 0.5294 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.001496/0.256, allocations: 0.7142 MB / 0.7561 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001272/0.2572, allocations: 0.6856 MB / 0.7568 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01826/0.2755, allocations: 4.154 MB / 0.7608 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.122e-06/0.2755, allocations: 0 / 0.7608 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007644/0.2831, allocations: 2.536 MB / 0.7633 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2832, allocations: 8 kB / 0.7633 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2832, allocations: 0 / 0.7633 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004245/0.2874, allocations: 1.087 MB / 0.7644 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008656/0.2883, allocations: 159.7 kB / 0.7645 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.2997, allocations: 5.132 MB / 0.7695 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.3009, allocations: 115.5 kB / 0.7697 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.301, allocations: 40.16 kB / 0.7697 GB, free: 11.92 MB / 0.545 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 (102): * Single equations (assignments): 99 * 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.0003623/0.3014, allocations: 243.2 kB / 0.7699 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.3015, allocations: 91.39 kB / 0.77 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006331/0.3079, allocations: 2.112 MB / 0.7721 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.3079, allocations: 3.984 kB / 0.7721 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3079, allocations: 4 kB / 0.7721 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.3081, allocations: 107.2 kB / 0.7722 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.3082, allocations: 16 kB / 0.7722 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/0.309, allocations: 67.92 kB / 0.7723 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004133/0.3094, allocations: 200.3 kB / 0.7725 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004857/0.3143, allocations: 1.532 MB / 0.774 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003239/0.3175, allocations: 1.662 MB / 0.7756 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009064/0.3184, allocations: 413 kB / 0.776 GB, free: 5.438 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007217/0.3191, allocations: 0.5303 MB / 0.7765 GB, free: 4.91 MB / 0.545 GB Notification: Performance of Backend: time 3.3e-07/0.3191, allocations: 0 / 0.7765 GB, free: 4.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007862/0.327, allocations: 2.617 MB / 0.779 GB, free: 2.246 MB / 0.545 GB Notification: Performance of SimCode: time 0.003266/0.3303, allocations: 2.538 MB / 0.7815 GB, free: 15.65 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_1Mod.Network could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.627842074725777] Failed to read output from testmodel.py, exit status != 0: 0.3639377481304109 0.596665009 0.215660344 Calling exit ...