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.0007674/0.0007674, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.8586/0.8586, allocations: 177.2 MB / 200.2 MB, free: 5.949 MB / 186.7 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.001156/0.001156, allocations: 172.6 kB / 256.7 MB, free: 13.35 MB / 250.7 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.2557/0.2557, allocations: 80.25 MB / 393.4 MB, free: 2.445 MB / 314.7 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: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.556 GB, free: 12.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.55e-05, allocations: 2.281 kB / 0.556 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.004059/0.004074, allocations: 4.937 MB / 0.5608 GB, free: 7.223 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.006186, allocations: 1.751 MB / 0.5625 GB, free: 5.469 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.006405, allocations: 11.94 kB / 0.5626 GB, free: 5.457 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.006725, allocations: 190.4 kB / 0.5627 GB, free: 5.27 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009126/0.007638, allocations: 0.713 MB / 0.5634 GB, free: 4.555 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.008191, allocations: 0.5062 MB / 0.5639 GB, free: 4.051 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007814/0.008972, allocations: 1.307 MB / 0.5652 GB, free: 2.738 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.009195, allocations: 171 kB / 0.5654 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005174/0.009713, allocations: 0.7403 MB / 0.5661 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.01014, allocations: 0.5063 MB / 0.5666 GB, free: 1.305 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.01023, allocations: 120 kB / 0.5667 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.0105, allocations: 267.8 kB / 0.567 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.01091, allocations: 270.9 kB / 0.5672 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.01111, allocations: 374.8 kB / 0.5676 GB, free: 300 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.01215, allocations: 1.612 MB / 0.5691 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.01215, allocations: 0 / 0.5691 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01215, allocations: 4 kB / 0.5692 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.01216, allocations: 0 / 0.5692 GB, free: 14.67 MB / 0.4948 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.002882/0.01504, allocations: 1.895 MB / 0.571 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.01508, allocations: 8.031 kB / 0.571 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.01667, allocations: 0.5388 MB / 0.5715 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007294/0.0174, allocations: 0.6599 MB / 0.5722 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.01757, allocations: 338.3 kB / 0.5725 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.275e-05/0.01766, allocations: 68 kB / 0.5726 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000977/0.01864, allocations: 0.8713 MB / 0.5734 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.01865, allocations: 4 kB / 0.5734 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.0187, allocations: 28 kB / 0.5735 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.01871, allocations: 16 kB / 0.5735 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.01984, allocations: 0.7157 MB / 0.5742 GB, free: 9.391 MB / 0.4948 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.002944/0.02278, allocations: 2.438 MB / 0.5765 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/0.02643, allocations: 1.742 MB / 0.5782 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005274/0.02696, allocations: 442.6 kB / 0.5787 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.531e-05/0.02702, allocations: 4.656 kB / 0.5787 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.02704, allocations: 43.22 kB / 0.5787 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=72): time 2.204e-06/0.02704, allocations: 0 / 0.5787 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72): time 0.006061/0.0331, allocations: 3.117 MB / 0.5818 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.03314, allocations: 89.7 kB / 0.5818 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.03379, allocations: 0.7859 MB / 0.5826 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.064e-05/0.03384, allocations: 37.7 kB / 0.5826 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.03404, allocations: 424.9 kB / 0.5831 GB, free: 168 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.03421, allocations: 269.8 kB / 0.5833 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.03442, allocations: 186.9 kB / 0.5835 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.03451, allocations: 345.9 kB / 0.5838 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/0.03517, allocations: 0.5447 MB / 0.5844 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.03588, allocations: 0.6625 MB / 0.585 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009331/0.04521, allocations: 4.06 MB / 0.589 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.04521, allocations: 0 / 0.589 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003604/0.04882, allocations: 2.333 MB / 0.5912 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.04884, allocations: 4 kB / 0.5912 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.04885, allocations: 8 kB / 0.5913 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.05093, allocations: 0.9858 MB / 0.5922 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.05136, allocations: 167.8 kB / 0.5924 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.05712, allocations: 4.648 MB / 0.5969 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/0.05772, allocations: 119.3 kB / 0.597 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.05778, allocations: 35.98 kB / 0.5971 GB, free: 1.609 MB / 0.5105 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.0009355/0.05871, allocations: 0.6893 MB / 0.5977 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006922/0.0594, allocations: 0.6547 MB / 0.5984 GB, free: 244 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2225/0.2819, allocations: 4.018 MB / 0.6023 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.478e-06/0.2819, allocations: 0 / 0.6023 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.003481/0.2854, allocations: 2.302 MB / 0.6045 GB, free: 92.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2854, allocations: 7.031 kB / 0.6046 GB, free: 92.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2854, allocations: 3.125 kB / 0.6046 GB, free: 92.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.2873, allocations: 0.9964 MB / 0.6055 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.2877, allocations: 167.4 kB / 0.6057 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/0.2928, allocations: 4.64 MB / 0.6102 GB, free: 89.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.2933, allocations: 107.6 kB / 0.6103 GB, free: 89.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.2934, allocations: 35.38 kB / 0.6104 GB, free: 89.86 MB / 0.5105 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.0002253/0.2936, allocations: 235.8 kB / 0.6106 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.2937, allocations: 93.03 kB / 0.6107 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/0.2969, allocations: 1.876 MB / 0.6125 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.2969, allocations: 4.359 kB / 0.6125 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2969, allocations: 0 / 0.6125 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.297, allocations: 110.5 kB / 0.6126 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/0.2971, allocations: 20.61 kB / 0.6126 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.2975, allocations: 49.61 kB / 0.6127 GB, free: 88.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/0.2978, allocations: 179.1 kB / 0.6128 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002547/0.3003, allocations: 1.438 MB / 0.6143 GB, free: 88.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001871/0.3022, allocations: 1.601 MB / 0.6158 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005349/0.3027, allocations: 387.3 kB / 0.6162 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000445/0.3032, allocations: 0.5326 MB / 0.6167 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of Backend: time 4.61e-07/0.3032, allocations: 4 kB / 0.6167 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00434/0.3075, allocations: 2.499 MB / 0.6192 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of SimCode: time 0.001973/0.3095, allocations: 2.431 MB / 0.6215 GB, free: 84.62 MB / 0.5105 GB [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 0: time >= pwLine1.t1 and time < pwLine1.t2. [CodegenCpp.tpl:12351:11-12351: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: 2.3792453156784177] Failed to read output from testmodel.py, exit status != 0: 0.3297891719266772 0.33523746699999996 0.32181744799999995 Calling exit ...