Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0008678/0.0008678, 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.8613/0.8613, 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.001753/0.001753, allocations: 156.6 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.2562/0.2562, allocations: 80.37 MB / 393.5 MB, free: 2.359 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_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5562 GB, free: 12.06 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.86e-05, allocations: 2.281 kB / 0.5562 GB, free: 12.06 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.004164/0.004183, allocations: 4.941 MB / 0.561 GB, free: 7.094 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.006123, allocations: 1.751 MB / 0.5627 GB, free: 5.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.00635, allocations: 8 kB / 0.5627 GB, free: 5.332 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.006664, allocations: 190.3 kB / 0.5629 GB, free: 5.145 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000925/0.007589, allocations: 0.7203 MB / 0.5636 GB, free: 4.422 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.008137, allocations: 0.4905 MB / 0.5641 GB, free: 3.934 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007877/0.008925, allocations: 1.315 MB / 0.5654 GB, free: 2.613 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.009146, allocations: 167 kB / 0.5655 GB, free: 2.434 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007834/0.00993, allocations: 0.7443 MB / 0.5663 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.01036, allocations: 0.5141 MB / 0.5668 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-05/0.01045, allocations: 116 kB / 0.5669 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.01072, allocations: 267.7 kB / 0.5671 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.01086, allocations: 270.9 kB / 0.5674 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.01108, allocations: 370.9 kB / 0.5678 GB, free: 172 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.01214, allocations: 1.608 MB / 0.5693 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.01214, allocations: 3.938 kB / 0.5693 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01214, allocations: 4 kB / 0.5693 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.01215, allocations: 4 kB / 0.5693 GB, free: 14.54 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.00293/0.01508, allocations: 1.891 MB / 0.5712 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.01512, allocations: 8.031 kB / 0.5712 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.01672, allocations: 0.5349 MB / 0.5717 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/0.01744, allocations: 0.6716 MB / 0.5724 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.01762, allocations: 334.3 kB / 0.5727 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.315e-05/0.01771, allocations: 75.98 kB / 0.5728 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.01895, allocations: 0.8674 MB / 0.5736 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01896, allocations: 0 / 0.5736 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/0.01901, allocations: 24 kB / 0.5736 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.01902, allocations: 16 kB / 0.5736 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/0.01989, allocations: 0.7234 MB / 0.5743 GB, free: 9.258 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.002966/0.02286, allocations: 2.43 MB / 0.5767 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/0.02655, allocations: 1.746 MB / 0.5784 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.02707, allocations: 438.6 kB / 0.5788 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.02713, allocations: 8.656 kB / 0.5789 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.02715, allocations: 43.22 kB / 0.5789 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=72): time 2.114e-06/0.02715, allocations: 0 / 0.5789 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72): time 0.006079/0.03323, allocations: 3.109 MB / 0.5819 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.03327, allocations: 89.77 kB / 0.582 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006384/0.03391, allocations: 0.7859 MB / 0.5828 GB, free: 0.5078 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.03396, allocations: 37.7 kB / 0.5828 GB, free: 476 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.03416, allocations: 420.8 kB / 0.5832 GB, free: 48 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.03432, allocations: 285.6 kB / 0.5835 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.03454, allocations: 182.9 kB / 0.5837 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.03462, allocations: 345.9 kB / 0.584 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000652/0.03527, allocations: 0.5409 MB / 0.5845 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.03598, allocations: 0.6664 MB / 0.5852 GB, free: 14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009202/0.04518, allocations: 4.06 MB / 0.5891 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.04519, allocations: 0 / 0.5891 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003562/0.04875, allocations: 2.322 MB / 0.5914 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.04877, allocations: 15.59 kB / 0.5914 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.04877, allocations: 3.984 kB / 0.5914 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/0.05079, allocations: 0.9897 MB / 0.5924 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.0512, allocations: 167.8 kB / 0.5926 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/0.05682, allocations: 4.644 MB / 0.5971 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004967/0.05732, allocations: 115.3 kB / 0.5972 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.05737, allocations: 39.92 kB / 0.5972 GB, free: 1.488 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.0009003/0.05827, allocations: 0.69 MB / 0.5979 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006978/0.05897, allocations: 0.6586 MB / 0.5986 GB, free: 112 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.217/0.2759, allocations: 4.012 MB / 0.6025 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.083e-06/0.2759, allocations: 0 / 0.6025 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.003409/0.2793, allocations: 2.3 MB / 0.6047 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2794, allocations: 6.219 kB / 0.6047 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2794, allocations: 7.031 kB / 0.6047 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001884/0.2812, allocations: 0.9948 MB / 0.6057 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.2817, allocations: 166 kB / 0.6059 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004954/0.2866, allocations: 4.637 MB / 0.6104 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/0.2872, allocations: 108.9 kB / 0.6105 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.2872, allocations: 34.17 kB / 0.6105 GB, free: 90.07 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.0002339/0.2875, allocations: 239.8 kB / 0.6108 GB, free: 89.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.2876, allocations: 96.92 kB / 0.6108 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.2907, allocations: 1.869 MB / 0.6127 GB, free: 89.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2908, allocations: 4.719 kB / 0.6127 GB, free: 89.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2908, allocations: 4 kB / 0.6127 GB, free: 89.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.2909, allocations: 114.8 kB / 0.6128 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.2909, allocations: 11.22 kB / 0.6128 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.2913, allocations: 57.84 kB / 0.6129 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.2916, allocations: 175.8 kB / 0.613 GB, free: 89.06 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002487/0.2941, allocations: 1.442 MB / 0.6144 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001822/0.2959, allocations: 1.597 MB / 0.616 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000509/0.2964, allocations: 390.1 kB / 0.6164 GB, free: 87.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000446/0.2968, allocations: 0.5285 MB / 0.6169 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of Backend: time 7.11e-07/0.2968, allocations: 1.375 kB / 0.6169 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004198/0.301, allocations: 2.504 MB / 0.6193 GB, free: 86.29 MB / 0.5105 GB Notification: Performance of SimCode: time 0.001948/0.303, allocations: 2.441 MB / 0.6217 GB, free: 84.82 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.3829432483762503] Failed to read output from testmodel.py, exit status != 0: 0.32254514936357737 0.327726076 0.31431050499999996 Calling exit ...