Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0007894/0.0007894, allocations: 76.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.8748/0.8748, allocations: 177.2 MB / 200.2 MB, free: 5.934 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.001007/0.001007, allocations: 160.1 kB / 256.7 MB, free: 13.34 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.2613/0.2613, allocations: 80.36 MB / 393.5 MB, free: 2.375 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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5562 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.069e-05, allocations: 6.281 kB / 0.5562 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.00454/0.004561, allocations: 5.283 MB / 0.5613 GB, free: 6.773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.007095, allocations: 2.098 MB / 0.5634 GB, free: 4.672 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.007413, allocations: 8 kB / 0.5634 GB, free: 4.664 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005148/0.007927, allocations: 249.9 kB / 0.5636 GB, free: 4.418 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.009009, allocations: 0.8108 MB / 0.5644 GB, free: 3.605 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008066/0.009816, allocations: 0.7616 MB / 0.5652 GB, free: 2.848 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.01086, allocations: 1.702 MB / 0.5668 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.01113, allocations: 181.8 kB / 0.567 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008044/0.01193, allocations: 0.9392 MB / 0.5679 GB, free: 4 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008992/0.01283, allocations: 0.6428 MB / 0.5685 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.01297, allocations: 164 kB / 0.5687 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.01332, allocations: 303.8 kB / 0.569 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.01354, allocations: 374.6 kB / 0.5694 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.01382, allocations: 466.5 kB / 0.5698 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.01517, allocations: 2.072 MB / 0.5718 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01517, allocations: 4 kB / 0.5718 GB, free: 12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.01517, allocations: 0 / 0.5718 GB, free: 12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.01519, allocations: 0 / 0.5718 GB, free: 12 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.003669/0.01886, allocations: 2.237 MB / 0.574 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.0189, allocations: 8.031 kB / 0.574 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.02055, allocations: 0.5659 MB / 0.5746 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.02199, allocations: 0.947 MB / 0.5755 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.02221, allocations: 376 kB / 0.5759 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.02232, allocations: 71.95 kB / 0.5759 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.02353, allocations: 1.018 MB / 0.5769 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.02355, allocations: 0 / 0.5769 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.0236, allocations: 24 kB / 0.5769 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.02361, allocations: 16 kB / 0.577 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.0248, allocations: 0.9148 MB / 0.5778 GB, free: 5.652 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.003567/0.02837, allocations: 2.821 MB / 0.5806 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006705/0.03507, allocations: 3.077 MB / 0.5836 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006927/0.03577, allocations: 0.5375 MB / 0.5841 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.03583, allocations: 8.656 kB / 0.5841 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.03585, allocations: 43.22 kB / 0.5842 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=76): time 2.886e-06/0.03586, allocations: 0 / 0.5842 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76): time 0.006868/0.04272, allocations: 3.711 MB / 0.5878 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.04278, allocations: 111.5 kB / 0.5879 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.04396, allocations: 1.133 MB / 0.589 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/0.04403, allocations: 37.7 kB / 0.5891 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005433/0.04457, allocations: 485 kB / 0.5895 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.04477, allocations: 297.4 kB / 0.5898 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.04503, allocations: 202.9 kB / 0.59 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.04513, allocations: 341.9 kB / 0.5903 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00084/0.04597, allocations: 0.6541 MB / 0.591 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009206/0.04689, allocations: 0.8215 MB / 0.5918 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009954/0.05684, allocations: 4.617 MB / 0.5963 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.05685, allocations: 0 / 0.5963 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.2159/0.2727, allocations: 2.734 MB / 0.5989 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.2727, allocations: 7.125 kB / 0.5989 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2728, allocations: 3.672 kB / 0.5989 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/0.2751, allocations: 1.048 MB / 0.6 GB, free: 92.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/0.2759, allocations: 216.4 kB / 0.6002 GB, free: 92.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005591/0.2815, allocations: 4.836 MB / 0.6049 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/0.2824, allocations: 165.2 kB / 0.6051 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.2825, allocations: 42.41 kB / 0.6051 GB, free: 90.47 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.001079/0.2836, allocations: 0.8338 MB / 0.6059 GB, free: 90.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007714/0.2844, allocations: 0.7937 MB / 0.6067 GB, free: 89.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009706/0.2941, allocations: 4.544 MB / 0.6111 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.2941, allocations: 0.6094 kB / 0.6111 GB, free: 88.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.004829/0.2989, allocations: 2.698 MB / 0.6138 GB, free: 87.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2989, allocations: 7.125 kB / 0.6138 GB, free: 87.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2989, allocations: 0.9375 kB / 0.6138 GB, free: 87.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/0.3012, allocations: 1.045 MB / 0.6148 GB, free: 87.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.3018, allocations: 211.1 kB / 0.615 GB, free: 87.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006426/0.3082, allocations: 4.85 MB / 0.6197 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008885/0.3091, allocations: 161.3 kB / 0.6199 GB, free: 84.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.3092, allocations: 38.08 kB / 0.6199 GB, free: 84.72 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.0002716/0.3094, allocations: 233.6 kB / 0.6201 GB, free: 84.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.3096, allocations: 116.9 kB / 0.6203 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004186/0.3138, allocations: 2.263 MB / 0.6225 GB, free: 83.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.3138, allocations: 7.219 kB / 0.6225 GB, free: 83.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3138, allocations: 0.5156 kB / 0.6225 GB, free: 83.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.314, allocations: 150.7 kB / 0.6226 GB, free: 83.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3141, allocations: 17.77 kB / 0.6226 GB, free: 83.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000569/0.3147, allocations: 109.5 kB / 0.6227 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/0.315, allocations: 196.4 kB / 0.6229 GB, free: 83.58 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00327/0.3183, allocations: 1.754 MB / 0.6246 GB, free: 82.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002648/0.3209, allocations: 2.015 MB / 0.6266 GB, free: 82 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007744/0.3217, allocations: 0.5007 MB / 0.6271 GB, free: 81.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001035/0.3228, allocations: 0.7986 MB / 0.6279 GB, free: 81.47 MB / 0.5105 GB Notification: Performance of Backend: time 7.61e-07/0.3228, allocations: 0 / 0.6279 GB, free: 81.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005361/0.3281, allocations: 2.723 MB / 0.6305 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of SimCode: time 0.002612/0.3307, allocations: 2.782 MB / 0.6332 GB, free: 78.74 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.4488716945052147] Failed to read output from testmodel.py, exit status != 0: 0.352481534704566 0.35801067000000003 0.341512704 Calling exit ...