Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.00133/0.00133, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.503/1.503, allocations: 230.6 MB / 253.4 MB, free: 14.28 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.001544/0.001544, allocations: 210.6 kB / 310 MB, free: 3.035 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.6033/0.6033, allocations: 107.2 MB / 473.6 MB, free: 29.7 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_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.00248/0.00248, allocations: 92.73 kB / 0.6343 GB, free: 29.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1302, allocations: 80.15 MB / 0.7125 GB, free: 7.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.006423/0.1366, allocations: 4.705 MB / 0.7171 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.1401, allocations: 1.724 MB / 0.7188 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005437/0.1406, allocations: 4 kB / 0.7188 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.1411, allocations: 166.5 kB / 0.719 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.143, allocations: 0.6761 MB / 0.7196 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1441, allocations: 0.4971 MB / 0.7201 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.1454, allocations: 1.203 MB / 0.7213 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002962/0.1457, allocations: 159 kB / 0.7214 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.1463, allocations: 0.4981 MB / 0.7219 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007142/0.147, allocations: 0.5483 MB / 0.7225 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.1472, allocations: 112 kB / 0.7226 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.1476, allocations: 263.9 kB / 0.7228 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.1479, allocations: 251 kB / 0.7231 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.1483, allocations: 429.8 kB / 0.7235 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.1498, allocations: 1.471 MB / 0.7249 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1498, allocations: 0 / 0.7249 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1498, allocations: 0 / 0.7249 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.1498, allocations: 0 / 0.7249 GB, free: 10.46 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005517/0.1553, allocations: 1.825 MB / 0.7267 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1554, allocations: 8.031 kB / 0.7267 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.1586, allocations: 0.5311 MB / 0.7272 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1598, allocations: 0.6365 MB / 0.7278 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.16, allocations: 193.8 kB / 0.728 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.1601, allocations: 63.95 kB / 0.7281 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.1617, allocations: 0.8127 MB / 0.7289 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1617, allocations: 0 / 0.7289 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/0.1618, allocations: 20 kB / 0.7289 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.1618, allocations: 12 kB / 0.7289 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.1632, allocations: 0.6922 MB / 0.7296 GB, free: 5.559 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.004733/0.168, allocations: 2.204 MB / 0.7317 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.1804, allocations: 2.756 MB / 0.7344 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.1815, allocations: 450.6 kB / 0.7349 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.225e-05/0.1815, allocations: 8.656 kB / 0.7349 GB, free: 92 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.1816, allocations: 39.16 kB / 0.7349 GB, free: 44 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=64): time 2.384e-06/0.1816, allocations: 0 / 0.7349 GB, free: 44 kB / 0.4981 GB Notification: Performance of matching and sorting (n=64): time 0.01302/0.1946, allocations: 3.433 MB / 0.7383 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.1947, allocations: 89.7 kB / 0.7383 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.1958, allocations: 0.7742 MB / 0.7391 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.855e-05/0.1959, allocations: 37.7 kB / 0.7391 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.1963, allocations: 381 kB / 0.7395 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.1965, allocations: 249.9 kB / 0.7397 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/0.1969, allocations: 186.6 kB / 0.7399 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.197, allocations: 349.8 kB / 0.7403 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.1982, allocations: 0.5397 MB / 0.7408 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.1994, allocations: 0.6751 MB / 0.7414 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01859/0.218, allocations: 4.126 MB / 0.7455 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.218, allocations: 0 / 0.7455 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.007554/0.2256, allocations: 2.478 MB / 0.7479 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2256, allocations: 6.344 kB / 0.7479 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2256, allocations: 4 kB / 0.7479 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/0.2297, allocations: 1.039 MB / 0.7489 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/0.2306, allocations: 167.7 kB / 0.7491 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.2413, allocations: 4.849 MB / 0.7538 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.2426, allocations: 127.3 kB / 0.7539 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/0.2427, allocations: 32 kB / 0.754 GB, free: 12.27 MB / 0.5294 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.001442/0.2441, allocations: 0.6932 MB / 0.7546 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001205/0.2453, allocations: 0.6517 MB / 0.7553 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01811/0.2634, allocations: 4.079 MB / 0.7593 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.729e-06/0.2634, allocations: 3.938 kB / 0.7593 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.009423/0.2728, allocations: 2.466 MB / 0.7617 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2729, allocations: 4 kB / 0.7617 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2729, allocations: 4 kB / 0.7617 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004129/0.277, allocations: 1.04 MB / 0.7627 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009269/0.2779, allocations: 163.7 kB / 0.7629 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.2888, allocations: 4.838 MB / 0.7676 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.2901, allocations: 111.5 kB / 0.7677 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-05/0.2902, allocations: 39.92 kB / 0.7677 GB, free: 13.99 MB / 0.545 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 (101): * Single equations (assignments): 98 * 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.0003722/0.2905, allocations: 224.1 kB / 0.7679 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.2907, allocations: 91.38 kB / 0.768 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006225/0.2969, allocations: 2.026 MB / 0.77 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.2969, allocations: 3.984 kB / 0.77 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2969, allocations: 8 kB / 0.77 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.2972, allocations: 111.2 kB / 0.7701 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.2974, allocations: 15.98 kB / 0.7701 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/0.2982, allocations: 63.88 kB / 0.7702 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003961/0.2986, allocations: 192.2 kB / 0.7704 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004724/0.3033, allocations: 1.491 MB / 0.7718 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003191/0.3065, allocations: 1.603 MB / 0.7734 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008595/0.3073, allocations: 389 kB / 0.7738 GB, free: 7.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007155/0.308, allocations: 0.5264 MB / 0.7743 GB, free: 7.207 MB / 0.545 GB Notification: Performance of Backend: time 4.21e-07/0.308, allocations: 0 / 0.7743 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007527/0.3156, allocations: 2.502 MB / 0.7767 GB, free: 4.66 MB / 0.545 GB Notification: Performance of SimCode: time 0.003045/0.3186, allocations: 2.409 MB / 0.7791 GB, free: 2.199 MB / 0.545 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_1.Network1 could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.580346087925136] Failed to read output from testmodel.py, exit status != 0: 0.35067726392298937 0.36475856 0.21198838900000003 Calling exit ...