Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0008942/0.0008942, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.8621/0.8621, 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.0008649/0.0008649, allocations: 155.5 kB / 256.7 MB, free: 13.36 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2581/0.2581, allocations: 80.36 MB / 393.5 MB, free: 2.371 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_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_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5562 GB, free: 12.08 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.648e-05, allocations: 5.375 kB / 0.5562 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network): time 0.004197/0.004214, allocations: 4.872 MB / 0.5609 GB, free: 7.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.00711, allocations: 1.766 MB / 0.5627 GB, free: 5.41 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.007474, allocations: 8 kB / 0.5627 GB, free: 5.402 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.007838, allocations: 178.4 kB / 0.5628 GB, free: 5.227 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.008981, allocations: 0.713 MB / 0.5635 GB, free: 4.512 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.009691, allocations: 0.5121 MB / 0.564 GB, free: 4.004 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008253/0.01052, allocations: 1.296 MB / 0.5653 GB, free: 2.703 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.01075, allocations: 162.9 kB / 0.5655 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.01131, allocations: 0.7326 MB / 0.5662 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/0.01176, allocations: 0.5063 MB / 0.5667 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.01186, allocations: 116 kB / 0.5668 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.01218, allocations: 271.8 kB / 0.567 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.01233, allocations: 274.9 kB / 0.5673 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.01254, allocations: 370.9 kB / 0.5677 GB, free: 280 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.01387, allocations: 1.593 MB / 0.5692 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01387, allocations: 0 / 0.5692 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01387, allocations: 0 / 0.5692 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.01388, allocations: 0 / 0.5692 GB, free: 14.68 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002927/0.01681, allocations: 1.871 MB / 0.571 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.01684, allocations: 15.97 kB / 0.5711 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.01843, allocations: 0.5349 MB / 0.5716 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007347/0.01917, allocations: 0.6522 MB / 0.5722 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.01935, allocations: 316.5 kB / 0.5725 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.01944, allocations: 68 kB / 0.5726 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.02045, allocations: 0.8634 MB / 0.5734 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.02046, allocations: 3.938 kB / 0.5734 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.02052, allocations: 28 kB / 0.5735 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.02053, allocations: 12 kB / 0.5735 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009007/0.02143, allocations: 0.7157 MB / 0.5742 GB, free: 9.465 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.003213/0.02464, allocations: 2.366 MB / 0.5765 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005949/0.03059, allocations: 2.772 MB / 0.5792 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.03117, allocations: 466.6 kB / 0.5796 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.543e-05/0.03122, allocations: 12.64 kB / 0.5796 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.03125, allocations: 39.22 kB / 0.5797 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=69): time 2.545e-06/0.03125, allocations: 0 / 0.5797 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69): time 0.006599/0.03785, allocations: 3.367 MB / 0.583 GB, free: 364 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.03789, allocations: 81.77 kB / 0.583 GB, free: 264 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/0.03857, allocations: 0.79 MB / 0.5838 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.03863, allocations: 33.7 kB / 0.5839 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.03883, allocations: 404.8 kB / 0.5842 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.039, allocations: 265.7 kB / 0.5845 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.03922, allocations: 186.6 kB / 0.5847 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.03931, allocations: 345.9 kB / 0.585 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/0.04002, allocations: 0.5595 MB / 0.5855 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007724/0.0408, allocations: 0.7012 MB / 0.5862 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009458/0.05025, allocations: 4.182 MB / 0.5903 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.05026, allocations: 4 kB / 0.5903 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004058/0.05432, allocations: 2.56 MB / 0.5928 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.05434, allocations: 8 kB / 0.5928 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.05434, allocations: 0 / 0.5928 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/0.05649, allocations: 1.086 MB / 0.5939 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.05692, allocations: 167.8 kB / 0.594 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2131/0.27, allocations: 5.124 MB / 0.599 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/0.2709, allocations: 123.3 kB / 0.5992 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.271, allocations: 32.78 kB / 0.5992 GB, free: 92.39 MB / 0.5105 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.0009076/0.2719, allocations: 0.7125 MB / 0.5999 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006459/0.2725, allocations: 0.6795 MB / 0.6006 GB, free: 92.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008381/0.2809, allocations: 4.154 MB / 0.6046 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.2809, allocations: 0 / 0.6046 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.003712/0.2846, allocations: 2.538 MB / 0.6071 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2846, allocations: 11.47 kB / 0.6071 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2846, allocations: 3.422 kB / 0.6071 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.2866, allocations: 1.085 MB / 0.6082 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.2871, allocations: 163.8 kB / 0.6083 GB, free: 90.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006367/0.2934, allocations: 5.124 MB / 0.6133 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.2939, allocations: 118.7 kB / 0.6134 GB, free: 87.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.294, allocations: 35.44 kB / 0.6135 GB, free: 87.82 MB / 0.5105 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.0001973/0.2942, allocations: 231 kB / 0.6137 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-05/0.2943, allocations: 94.22 kB / 0.6138 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/0.2978, allocations: 2.105 MB / 0.6158 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.2978, allocations: 8.062 kB / 0.6158 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2978, allocations: 0 / 0.6158 GB, free: 86.92 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2979, allocations: 112.2 kB / 0.616 GB, free: 86.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.298, allocations: 12.92 kB / 0.616 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.2983, allocations: 65.69 kB / 0.616 GB, free: 86.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/0.2987, allocations: 199.3 kB / 0.6162 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002712/0.3014, allocations: 1.536 MB / 0.6177 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002001/0.3034, allocations: 1.66 MB / 0.6193 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006039/0.304, allocations: 409.8 kB / 0.6197 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004939/0.3045, allocations: 0.5383 MB / 0.6203 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of Backend: time 3.01e-07/0.3045, allocations: 0 / 0.6203 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004685/0.3092, allocations: 2.619 MB / 0.6228 GB, free: 84.02 MB / 0.5105 GB Notification: Performance of SimCode: time 0.001973/0.3111, allocations: 2.395 MB / 0.6252 GB, free: 82.56 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_1Mod.Network could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4145569931715727] Failed to read output from testmodel.py, exit status != 0: 0.33171359449625015 0.33712791000000003 0.321990253 Calling exit ...