Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001342/0.001342, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.485/1.485, 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.001533/0.001533, allocations: 209.4 kB / 310 MB, free: 3.105 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.6/0.6, allocations: 107.2 MB / 473.6 MB, free: 29.87 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.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.002483/0.002483, allocations: 90.77 kB / 0.6343 GB, free: 29.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1289, allocations: 80.14 MB / 0.7125 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.006527/0.1354, allocations: 4.954 MB / 0.7174 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.1389, allocations: 1.743 MB / 0.7191 GB, free: 472 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.1395, allocations: 11.94 kB / 0.7191 GB, free: 460 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.14, allocations: 190.4 kB / 0.7193 GB, free: 268 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.1419, allocations: 0.7022 MB / 0.7199 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1429, allocations: 0.4984 MB / 0.7204 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.1444, allocations: 1.273 MB / 0.7217 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003056/0.1447, allocations: 175 kB / 0.7218 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006396/0.1453, allocations: 0.533 MB / 0.7224 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007472/0.1461, allocations: 0.5871 MB / 0.7229 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.1463, allocations: 116 kB / 0.723 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004837/0.1467, allocations: 259.9 kB / 0.7233 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.147, allocations: 274.9 kB / 0.7236 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004203/0.1474, allocations: 453.7 kB / 0.724 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.149, allocations: 1.576 MB / 0.7255 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.149, allocations: 0 / 0.7255 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.149, allocations: 0 / 0.7255 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.149, allocations: 0 / 0.7255 GB, free: 9.816 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.005565/0.1546, allocations: 1.891 MB / 0.7274 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1546, allocations: 12.03 kB / 0.7274 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.1579, allocations: 0.5426 MB / 0.7279 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.159, allocations: 0.6599 MB / 0.7286 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.1593, allocations: 338.3 kB / 0.7289 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.1594, allocations: 75.95 kB / 0.729 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.161, allocations: 0.8712 MB / 0.7298 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.161, allocations: 0 / 0.7298 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.1611, allocations: 28 kB / 0.7298 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.1611, allocations: 20 kB / 0.7299 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.1626, allocations: 0.7157 MB / 0.7306 GB, free: 4.523 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.005156/0.1677, allocations: 2.43 MB / 0.7329 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007573/0.1753, allocations: 1.75 MB / 0.7346 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009106/0.1762, allocations: 430.6 kB / 0.735 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.025e-05/0.1763, allocations: 12.66 kB / 0.7351 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1763, allocations: 43.16 kB / 0.7351 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 2.855e-06/0.1763, allocations: 0 / 0.7351 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.01131/0.1876, allocations: 3.125 MB / 0.7382 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.1877, allocations: 93.7 kB / 0.7382 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.1888, allocations: 0.7859 MB / 0.739 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.315e-05/0.1889, allocations: 37.7 kB / 0.739 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.1892, allocations: 416.9 kB / 0.7394 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.1895, allocations: 273.7 kB / 0.7397 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.1899, allocations: 186.9 kB / 0.7399 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.19, allocations: 345.9 kB / 0.7402 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.1911, allocations: 0.5448 MB / 0.7407 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.1923, allocations: 0.6625 MB / 0.7414 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0181/0.2104, allocations: 4.056 MB / 0.7454 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.2104, allocations: 3.984 kB / 0.7454 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.006793/0.2172, allocations: 2.33 MB / 0.7476 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.2172, allocations: 4 kB / 0.7476 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.2173, allocations: 7.984 kB / 0.7476 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00403/0.2213, allocations: 0.9944 MB / 0.7486 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009108/0.2222, allocations: 171.7 kB / 0.7488 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009723/0.2319, allocations: 4.64 MB / 0.7533 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.2331, allocations: 111.4 kB / 0.7534 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.2332, allocations: 35.98 kB / 0.7534 GB, free: 12.74 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.001468/0.2347, allocations: 0.6939 MB / 0.7541 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/0.2359, allocations: 0.6547 MB / 0.7548 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01837/0.2542, allocations: 4.029 MB / 0.7587 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.875e-06/0.2543, allocations: 7.984 kB / 0.7587 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.006859/0.2611, allocations: 2.298 MB / 0.761 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2611, allocations: 4 kB / 0.761 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2611, allocations: 3.938 kB / 0.761 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003992/0.2651, allocations: 0.9977 MB / 0.7619 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/0.2661, allocations: 163.7 kB / 0.7621 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009607/0.2757, allocations: 4.631 MB / 0.7666 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.2769, allocations: 99.47 kB / 0.7667 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.277, allocations: 39.98 kB / 0.7667 GB, free: 14.93 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: 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 (103): * Single equations (assignments): 100 * 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.0003942/0.2774, allocations: 253.9 kB / 0.767 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.2777, allocations: 91.42 kB / 0.7671 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005437/0.2831, allocations: 1.87 MB / 0.7689 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.2831, allocations: 7.984 kB / 0.7689 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2831, allocations: 0 / 0.7689 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.2834, allocations: 111.6 kB / 0.769 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.2836, allocations: 15.94 kB / 0.769 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.2843, allocations: 47.95 kB / 0.7691 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/0.2847, allocations: 180.3 kB / 0.7692 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004501/0.2892, allocations: 1.448 MB / 0.7707 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003015/0.2922, allocations: 1.599 MB / 0.7722 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007976/0.293, allocations: 385 kB / 0.7726 GB, free: 8.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007437/0.2938, allocations: 0.538 MB / 0.7731 GB, free: 8.344 MB / 0.545 GB Notification: Performance of Backend: time 3.7e-07/0.2938, allocations: 0 / 0.7731 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007301/0.3011, allocations: 2.498 MB / 0.7756 GB, free: 5.793 MB / 0.545 GB Notification: Performance of SimCode: time 0.003362/0.3044, allocations: 2.581 MB / 0.7781 GB, free: 3.164 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. Error: Internal error SimCode DAEmode: The model OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.548431033268571] Failed to read output from testmodel.py, exit status != 0: 0.3409259729087353 0.356464887 0.20428527400000002 Calling exit ...