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.0008538/0.0008538, allocations: 80.48 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.8626/0.8626, allocations: 177.1 MB / 200.2 MB, free: 5.93 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.001206/0.001206, allocations: 152.6 kB / 256.7 MB, free: 13.33 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.256/0.256, allocations: 80.24 MB / 393.4 MB, free: 2.453 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.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: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.556 GB, free: 12.2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.394e-05, allocations: 2.281 kB / 0.556 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.003982/0.003996, allocations: 4.7 MB / 0.5606 GB, free: 7.469 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.00641, allocations: 1.708 MB / 0.5623 GB, free: 5.758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.006688, allocations: 11.94 kB / 0.5623 GB, free: 5.746 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.006997, allocations: 162.6 kB / 0.5624 GB, free: 5.586 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.008014, allocations: 0.7029 MB / 0.5631 GB, free: 4.879 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.008549, allocations: 0.4897 MB / 0.5636 GB, free: 4.395 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007747/0.009324, allocations: 1.237 MB / 0.5648 GB, free: 3.152 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.009536, allocations: 158.9 kB / 0.565 GB, free: 2.98 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007753/0.01031, allocations: 0.6937 MB / 0.5657 GB, free: 2.285 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.01072, allocations: 0.4946 MB / 0.5661 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-05/0.01082, allocations: 112 kB / 0.5662 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.01109, allocations: 251.8 kB / 0.5665 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.01123, allocations: 259 kB / 0.5667 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.01143, allocations: 362.9 kB / 0.5671 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009935/0.01243, allocations: 1.507 MB / 0.5685 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.01243, allocations: 0 / 0.5685 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.01243, allocations: 0 / 0.5685 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.01244, allocations: 3.938 kB / 0.5685 GB, free: 15.31 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.002873/0.01531, allocations: 1.813 MB / 0.5703 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.01534, allocations: 12.03 kB / 0.5703 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.01695, allocations: 0.5388 MB / 0.5709 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.01763, allocations: 0.6287 MB / 0.5715 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.01776, allocations: 197.8 kB / 0.5717 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.64e-05/0.01786, allocations: 60 kB / 0.5717 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.01905, allocations: 0.8088 MB / 0.5725 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.01907, allocations: 0 / 0.5725 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.01911, allocations: 20 kB / 0.5725 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.01912, allocations: 12 kB / 0.5725 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.01999, allocations: 0.6845 MB / 0.5732 GB, free: 10.43 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.002764/0.02275, allocations: 2.212 MB / 0.5754 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006073/0.02882, allocations: 2.749 MB / 0.578 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/0.0294, allocations: 456.6 kB / 0.5785 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.02945, allocations: 8.656 kB / 0.5785 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.02947, allocations: 39.22 kB / 0.5785 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=64): time 1.773e-06/0.02947, allocations: 0 / 0.5785 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64): time 0.006913/0.03639, allocations: 3.437 MB / 0.5819 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.03642, allocations: 81.77 kB / 0.582 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.03706, allocations: 0.782 MB / 0.5827 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.03711, allocations: 37.7 kB / 0.5828 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.0373, allocations: 381 kB / 0.5831 GB, free: 136 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.03745, allocations: 246.1 kB / 0.5834 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.03767, allocations: 178.6 kB / 0.5835 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.03775, allocations: 341.9 kB / 0.5839 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006891/0.03844, allocations: 0.5475 MB / 0.5844 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.03919, allocations: 0.6711 MB / 0.585 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009483/0.04868, allocations: 4.118 MB / 0.5891 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.04868, allocations: 3.75 kB / 0.5891 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004/0.05268, allocations: 2.474 MB / 0.5915 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.0527, allocations: 11.94 kB / 0.5915 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.05271, allocations: 0 / 0.5915 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.05486, allocations: 1.055 MB / 0.5925 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.05528, allocations: 163.8 kB / 0.5927 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006344/0.06162, allocations: 4.844 MB / 0.5974 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.06214, allocations: 123.3 kB / 0.5975 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/0.06219, allocations: 39.92 kB / 0.5976 GB, free: 1.133 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.0008899/0.06308, allocations: 0.6864 MB / 0.5982 GB, free: 452 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2069/0.27, allocations: 0.6561 MB / 0.5989 GB, free: 93.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009037/0.279, allocations: 4.086 MB / 0.6029 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.279, allocations: 3.375 kB / 0.6029 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003823/0.2828, allocations: 2.454 MB / 0.6053 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2829, allocations: 6.281 kB / 0.6053 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2829, allocations: 2.969 kB / 0.6053 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/0.2849, allocations: 1.044 MB / 0.6063 GB, free: 92.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.2853, allocations: 165.9 kB / 0.6065 GB, free: 92.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/0.2912, allocations: 4.832 MB / 0.6112 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.2919, allocations: 113.5 kB / 0.6113 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.2919, allocations: 33.55 kB / 0.6113 GB, free: 89.95 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: 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.0002383/0.2922, allocations: 225.5 kB / 0.6115 GB, free: 89.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2923, allocations: 91.62 kB / 0.6116 GB, free: 89.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/0.2959, allocations: 2.026 MB / 0.6136 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.2959, allocations: 4.578 kB / 0.6136 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2959, allocations: 4 kB / 0.6136 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.296, allocations: 112 kB / 0.6137 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.2961, allocations: 16.16 kB / 0.6137 GB, free: 89.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.2965, allocations: 59.31 kB / 0.6138 GB, free: 89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.2968, allocations: 193.2 kB / 0.614 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002661/0.2994, allocations: 1.494 MB / 0.6154 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001938/0.3014, allocations: 1.599 MB / 0.617 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005752/0.302, allocations: 396.2 kB / 0.6174 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004767/0.3024, allocations: 0.5312 MB / 0.6179 GB, free: 87.28 MB / 0.5105 GB Notification: Performance of Backend: time 7.41e-07/0.3024, allocations: 0 / 0.6179 GB, free: 87.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004546/0.307, allocations: 2.496 MB / 0.6203 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of SimCode: time 0.00188/0.3089, allocations: 2.273 MB / 0.6225 GB, free: 84.89 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. [CodegenCpp.tpl:12351:11-12351: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: 2.3955425154417753] Failed to read output from testmodel.py, exit status != 0: 0.3286503767594695 0.33448302900000004 0.320778595 Calling exit ...