Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3.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.0009507/0.0009507, 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.8708/0.8708, allocations: 177.2 MB / 200.2 MB, free: 5.945 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.001003/0.001003, allocations: 152.6 kB / 256.7 MB, free: 13.36 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.2698/0.2698, allocations: 80.24 MB / 393.4 MB, free: 2.438 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.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.556 GB, free: 12.17 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.622e-05, allocations: 2.281 kB / 0.556 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3): time 0.005577/0.005593, allocations: 6.978 MB / 0.5628 GB, free: 5.145 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.008919, allocations: 2.894 MB / 0.5657 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000418/0.009337, allocations: 31.81 kB / 0.5657 GB, free: 2.215 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006425/0.00998, allocations: 380.8 kB / 0.5661 GB, free: 1.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.0115, allocations: 1.014 MB / 0.5671 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.01279, allocations: 1.302 MB / 0.5683 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.0143, allocations: 2.662 MB / 0.5709 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004075/0.01471, allocations: 383.7 kB / 0.5713 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009836/0.01569, allocations: 1.481 MB / 0.5727 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.0167, allocations: 0.9698 MB / 0.5737 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.0169, allocations: 264 kB / 0.5739 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.01729, allocations: 419.8 kB / 0.5743 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003266/0.01762, allocations: 0.5995 MB / 0.5749 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.01803, allocations: 0.6895 MB / 0.5756 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.02006, allocations: 3.373 MB / 0.5789 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.02006, allocations: 3.984 kB / 0.5789 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.02007, allocations: 3.938 kB / 0.5789 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.02008, allocations: 0 / 0.5789 GB, free: 4.633 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.005509/0.02559, allocations: 3.449 MB / 0.5823 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.02563, allocations: 12.03 kB / 0.5823 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.02704, allocations: 0.5616 MB / 0.5828 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.02886, allocations: 1.461 MB / 0.5842 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.02919, allocations: 0.6023 MB / 0.5848 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.02935, allocations: 132 kB / 0.585 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.03119, allocations: 1.638 MB / 0.5866 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.03121, allocations: 3.938 kB / 0.5866 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.08e-05/0.03129, allocations: 44 kB / 0.5866 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.0313, allocations: 28 kB / 0.5866 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.03349, allocations: 1.461 MB / 0.5881 GB, free: 10.95 MB / 0.5105 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.005644/0.03913, allocations: 5.003 MB / 0.5929 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007346/0.04648, allocations: 3.667 MB / 0.5965 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009923/0.04747, allocations: 0.7691 MB / 0.5973 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.644e-05/0.04755, allocations: 20.98 kB / 0.5973 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.04758, allocations: 55.55 kB / 0.5974 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=117): time 3.346e-06/0.04759, allocations: 0 / 0.5974 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.2133/0.2609, allocations: 4.165 MB / 0.6014 GB, free: 93.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.2609, allocations: 219.8 kB / 0.6016 GB, free: 92.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.2626, allocations: 1.731 MB / 0.6033 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/0.2627, allocations: 56.45 kB / 0.6034 GB, free: 92.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.263, allocations: 0.7374 MB / 0.6041 GB, free: 92.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.2632, allocations: 458.8 kB / 0.6045 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/0.2635, allocations: 335.8 kB / 0.6049 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.401e-05/0.2635, allocations: 301.1 kB / 0.6051 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.2646, allocations: 0.9816 MB / 0.6061 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.2657, allocations: 1.321 MB / 0.6074 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.2679, allocations: 2.051 MB / 0.6094 GB, free: 89.13 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2679, allocations: 0 / 0.6094 GB, free: 89.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.003743/0.2716, allocations: 3.026 MB / 0.6123 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.2717, allocations: 41.94 kB / 0.6124 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2717, allocations: 4.531 kB / 0.6124 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/0.2741, allocations: 1.187 MB / 0.6135 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009986/0.2751, allocations: 417.9 kB / 0.6139 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/0.2772, allocations: 1.603 MB / 0.6155 GB, free: 86.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.2783, allocations: 295.9 kB / 0.6158 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.954e-05/0.2784, allocations: 62.77 kB / 0.6159 GB, free: 86.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001493/0.2798, allocations: 1.26 MB / 0.6171 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001293/0.2811, allocations: 1.267 MB / 0.6183 GB, free: 85.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002278/0.2834, allocations: 1.984 MB / 0.6203 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.437e-06/0.2834, allocations: 0.5625 kB / 0.6203 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=230) (initialization_lambda0): time 0.003855/0.2873, allocations: 2.959 MB / 0.6231 GB, free: 83.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.2873, allocations: 41.47 kB / 0.6232 GB, free: 82.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2873, allocations: 2.844 kB / 0.6232 GB, free: 82.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.2898, allocations: 1.184 MB / 0.6243 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/0.2907, allocations: 401.6 kB / 0.6247 GB, free: 82.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.2928, allocations: 1.606 MB / 0.6263 GB, free: 81.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009691/0.2938, allocations: 277.3 kB / 0.6266 GB, free: 81.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.38e-05/0.2939, allocations: 58.05 kB / 0.6266 GB, free: 81.76 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (G1.hYGOV.Position_Limiter.local_reset,G1.hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003188/0.2942, allocations: 267 kB / 0.6269 GB, free: 81.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.2944, allocations: 180.9 kB / 0.627 GB, free: 81.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/0.2988, allocations: 2.782 MB / 0.6298 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.2989, allocations: 8.484 kB / 0.6298 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2989, allocations: 0 / 0.6298 GB, free: 80.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.2991, allocations: 223.6 kB / 0.63 GB, free: 80.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.2992, allocations: 34.38 kB / 0.63 GB, free: 80.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007871/0.3, allocations: 179.7 kB / 0.6302 GB, free: 80.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.3004, allocations: 236.5 kB / 0.6304 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004616/0.305, allocations: 2.832 MB / 0.6332 GB, free: 79.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003332/0.3083, allocations: 3.047 MB / 0.6362 GB, free: 77.83 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009463/0.3093, allocations: 0.7792 MB / 0.6369 GB, free: 77.53 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001245/0.3105, allocations: 1.199 MB / 0.6381 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of Backend: time 3.81e-07/0.3105, allocations: 0 / 0.6381 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005841/0.3163, allocations: 3.673 MB / 0.6417 GB, free: 75.65 MB / 0.5105 GB Notification: Performance of SimCode: time 0.002772/0.3191, allocations: 4.053 MB / 0.6456 GB, free: 71.63 MB / 0.5105 GB [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 0: G1.hYGOV.Position_Limiter.y < G1.hYGOV.Position_Limiter.outMin and G1.hYGOV.Position_Limiter.k * G1.hYGOV.Velocity_Limiter.y < 0.0 or G1.hYGOV.Position_Limiter.y > G1.hYGOV.Position_Limiter.outMax and G1.hYGOV.Position_Limiter.k * G1.hYGOV.Velocity_Limiter.y > 0.0. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 3: time >= pwLine1.t1 and time < pwLine1.t2. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 6: time >= pwLine2.t1 and time < pwLine2.t2. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 10: time < pwFault.t2 and pwFault.ground. Error: Internal error SimCode DAEmode: The model OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3 could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.405772540718317] Failed to read output from testmodel.py, exit status != 0: 0.3414134718477726 0.346898299 0.32541087300000004 Calling exit ...