Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.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.0007614/0.0007614, 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.8588/0.8588, allocations: 177.2 MB / 200.2 MB, free: 5.941 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.001106/0.001106, allocations: 159.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.2566/0.2566, allocations: 80.25 MB / 393.4 MB, free: 2.434 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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.556 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.108e-05, allocations: 6.281 kB / 0.556 GB, free: 12.17 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.004532/0.004553, allocations: 5.275 MB / 0.5612 GB, free: 6.871 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.007504, allocations: 2.098 MB / 0.5632 GB, free: 4.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.00792, allocations: 11.94 kB / 0.5632 GB, free: 4.758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.008465, allocations: 238 kB / 0.5635 GB, free: 4.523 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.00971, allocations: 0.8185 MB / 0.5643 GB, free: 3.703 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/0.01064, allocations: 0.7737 MB / 0.565 GB, free: 2.938 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.01206, allocations: 1.682 MB / 0.5667 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.01237, allocations: 189.8 kB / 0.5668 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.01346, allocations: 0.947 MB / 0.5678 GB, free: 100 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005906/0.01405, allocations: 0.6388 MB / 0.5684 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.01418, allocations: 164 kB / 0.5685 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.01452, allocations: 299.8 kB / 0.5688 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.01473, allocations: 378.6 kB / 0.5692 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.01501, allocations: 462.7 kB / 0.5696 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.01636, allocations: 2.076 MB / 0.5717 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01636, allocations: 0 / 0.5717 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01636, allocations: 0 / 0.5717 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.01637, allocations: 4 kB / 0.5717 GB, free: 12.09 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003659/0.02003, allocations: 2.233 MB / 0.5738 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.02006, allocations: 8.031 kB / 0.5738 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.02168, allocations: 0.5659 MB / 0.5744 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.0228, allocations: 0.947 MB / 0.5753 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.023, allocations: 376 kB / 0.5757 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-05/0.0231, allocations: 71.95 kB / 0.5758 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.02428, allocations: 1.01 MB / 0.5767 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.02429, allocations: 4 kB / 0.5767 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.02435, allocations: 24 kB / 0.5768 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.02436, allocations: 16 kB / 0.5768 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.02552, allocations: 0.9147 MB / 0.5777 GB, free: 5.758 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.003743/0.02926, allocations: 2.832 MB / 0.5804 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006437/0.0357, allocations: 3.061 MB / 0.5834 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/0.03639, allocations: 0.5337 MB / 0.584 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.03645, allocations: 12.66 kB / 0.584 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.03647, allocations: 43.2 kB / 0.584 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=76): time 2.335e-06/0.03647, allocations: 0 / 0.584 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76): time 0.007189/0.04366, allocations: 3.714 MB / 0.5876 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.04371, allocations: 111.5 kB / 0.5877 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.04486, allocations: 1.133 MB / 0.5888 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.04492, allocations: 45.64 kB / 0.5889 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.04517, allocations: 481 kB / 0.5893 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.04535, allocations: 297.4 kB / 0.5896 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.04559, allocations: 198.9 kB / 0.5898 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.837e-05/0.04568, allocations: 349.9 kB / 0.5902 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.04684, allocations: 0.6502 MB / 0.5908 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009097/0.04775, allocations: 0.8215 MB / 0.5916 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/0.05781, allocations: 4.617 MB / 0.5961 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.05781, allocations: 0 / 0.5961 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.2234/0.2812, allocations: 2.738 MB / 0.5988 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.2812, allocations: 7.469 kB / 0.5988 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2812, allocations: 3.672 kB / 0.5988 GB, free: 92.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.2836, allocations: 1.043 MB / 0.5998 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.2844, allocations: 215.9 kB / 0.6 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00547/0.2898, allocations: 4.838 MB / 0.6047 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/0.2907, allocations: 177.8 kB / 0.6049 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.2907, allocations: 35.92 kB / 0.6049 GB, free: 90.53 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: 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.001022/0.2918, allocations: 0.8328 MB / 0.6058 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000756/0.2925, allocations: 0.7997 MB / 0.6065 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009594/0.3021, allocations: 4.538 MB / 0.611 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/0.3021, allocations: 1.438 kB / 0.611 GB, free: 88.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.004574/0.3067, allocations: 2.694 MB / 0.6136 GB, free: 87.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3067, allocations: 6.156 kB / 0.6136 GB, free: 87.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3067, allocations: 2.859 kB / 0.6136 GB, free: 87.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.309, allocations: 1.052 MB / 0.6146 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/0.3096, allocations: 198.5 kB / 0.6148 GB, free: 87.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/0.3156, allocations: 4.843 MB / 0.6195 GB, free: 84.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/0.3164, allocations: 161.1 kB / 0.6197 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.3165, allocations: 38.48 kB / 0.6197 GB, free: 84.79 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: 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: 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 (116): * Single equations (assignments): 113 * 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.0002402/0.3167, allocations: 234.6 kB / 0.62 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.3168, allocations: 118.3 kB / 0.6201 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/0.3207, allocations: 2.264 MB / 0.6223 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.3208, allocations: 3.938 kB / 0.6223 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3208, allocations: 1.094 kB / 0.6223 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.3209, allocations: 154.4 kB / 0.6224 GB, free: 83.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.937e-05/0.321, allocations: 19.58 kB / 0.6225 GB, free: 83.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005432/0.3215, allocations: 107.4 kB / 0.6226 GB, free: 83.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/0.3219, allocations: 196.5 kB / 0.6227 GB, free: 83.64 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003123/0.325, allocations: 1.759 MB / 0.6245 GB, free: 83.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002556/0.3276, allocations: 2.011 MB / 0.6264 GB, free: 82.07 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007423/0.3283, allocations: 0.5015 MB / 0.6269 GB, free: 81.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009878/0.3293, allocations: 0.8009 MB / 0.6277 GB, free: 81.53 MB / 0.5105 GB Notification: Performance of Backend: time 7.82e-07/0.3293, allocations: 0 / 0.6277 GB, free: 81.53 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005176/0.3345, allocations: 2.729 MB / 0.6304 GB, free: 80.44 MB / 0.5105 GB Notification: Performance of SimCode: time 0.002586/0.3371, allocations: 2.775 MB / 0.6331 GB, free: 78.81 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_2.Network could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4331219075247645] Failed to read output from testmodel.py, exit status != 0: 0.3572539137676358 0.36291164400000003 0.34524827700000005 Calling exit ...