Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001488/0.001488, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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 1.344/1.344, allocations: 230.6 MB / 253.4 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 178] 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.001531/0.001531, allocations: 210.5 kB / 310 MB, free: 3.109 MB / 238.1 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.5174/0.5174, allocations: 101.4 MB / 467.8 MB, free: 10.29 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.Network3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 91.86 kB / 0.6257 GB, free: 12.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4017, allocations: 78.61 MB / 0.7024 GB, free: 9.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network3): time 0.006594/0.4082, allocations: 8.056 MB / 0.7103 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004162/0.4124, allocations: 3.004 MB / 0.7132 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.413, allocations: 30.12 kB / 0.7133 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007269/0.4137, allocations: 380.8 kB / 0.7136 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.4154, allocations: 1.018 MB / 0.7146 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.4173, allocations: 1.227 MB / 0.7158 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0032/0.4205, allocations: 3.089 MB / 0.7188 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.4211, allocations: 405.5 kB / 0.7192 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.4225, allocations: 1.148 MB / 0.7203 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.4239, allocations: 1.235 MB / 0.7215 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.4241, allocations: 265.1 kB / 0.7218 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000642/0.4248, allocations: 471.3 kB / 0.7222 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005538/0.4253, allocations: 0.5926 MB / 0.7228 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009633/0.4263, allocations: 1.055 MB / 0.7238 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003761/0.4301, allocations: 3.284 MB / 0.7271 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4301, allocations: 0 / 0.7271 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4301, allocations: 1.031 kB / 0.7271 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.848e-05/0.4301, allocations: 0 / 0.7271 GB, free: 10.25 MB / 0.4981 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.01146/0.4416, allocations: 3.462 MB / 0.7304 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4416, allocations: 8.375 kB / 0.7304 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.4447, allocations: 0.5607 MB / 0.731 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.4481, allocations: 1.468 MB / 0.7324 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006345/0.4487, allocations: 0.6003 MB / 0.733 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.449, allocations: 131.1 kB / 0.7331 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.452, allocations: 1.539 MB / 0.7346 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.452, allocations: 1.406 kB / 0.7346 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.4521, allocations: 49.28 kB / 0.7347 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.4522, allocations: 26.88 kB / 0.7347 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00319/0.4554, allocations: 1.464 MB / 0.7361 GB, free: 4.836 MB / 0.4981 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.01067/0.466, allocations: 6.142 MB / 0.7421 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.4798, allocations: 3.675 MB / 0.7457 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.4816, allocations: 0.7741 MB / 0.7465 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.4818, allocations: 17.8 kB / 0.7465 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.4818, allocations: 59.11 kB / 0.7466 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=117): time 3.847e-06/0.4818, allocations: 3.938 kB / 0.7466 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=117): time 0.0138/0.4956, allocations: 4.171 MB / 0.7506 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.4957, allocations: 221.7 kB / 0.7508 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.4994, allocations: 1.785 MB / 0.7526 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002925/0.4997, allocations: 52.42 kB / 0.7526 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007092/0.5004, allocations: 0.7393 MB / 0.7534 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005917/0.501, allocations: 463 kB / 0.7538 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006468/0.5016, allocations: 346.9 kB / 0.7541 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5018, allocations: 301.1 kB / 0.7544 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.5039, allocations: 0.9652 MB / 0.7554 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002316/0.5062, allocations: 1.191 MB / 0.7565 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/0.5105, allocations: 2.064 MB / 0.7585 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.5105, allocations: 0 / 0.7585 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00828/0.5187, allocations: 3.23 MB / 0.7617 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.655e-05/0.5188, allocations: 33.7 kB / 0.7617 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.5188, allocations: 4 kB / 0.7617 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004572/0.5234, allocations: 1.188 MB / 0.7629 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.5253, allocations: 427.5 kB / 0.7633 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.5292, allocations: 1.606 MB / 0.7649 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.5316, allocations: 314.6 kB / 0.7652 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.5318, allocations: 59.98 kB / 0.7652 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002689/0.5344, allocations: 1.23 MB / 0.7664 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00236/0.5368, allocations: 1.158 MB / 0.7676 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004033/0.5408, allocations: 1.997 MB / 0.7695 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.269e-06/0.5408, allocations: 0 / 0.7695 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236) (initialization_lambda0): time 0.008105/0.5489, allocations: 3.151 MB / 0.7726 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.549, allocations: 41.69 kB / 0.7726 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.549, allocations: 4 kB / 0.7726 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004462/0.5535, allocations: 1.174 MB / 0.7738 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/0.5555, allocations: 415.4 kB / 0.7742 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.5594, allocations: 1.614 MB / 0.7758 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.562, allocations: 270.9 kB / 0.776 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/0.5623, allocations: 64.03 kB / 0.7761 GB, free: 4.141 MB / 0.5294 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 (204): * Single equations (assignments): 200 * 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.000572/0.5629, allocations: 267.9 kB / 0.7763 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006611/0.5636, allocations: 186.8 kB / 0.7765 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008437/0.572, allocations: 2.786 MB / 0.7792 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/0.572, allocations: 11.97 kB / 0.7792 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.572, allocations: 0 / 0.7792 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008046/0.5728, allocations: 234.3 kB / 0.7795 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005345/0.5734, allocations: 35.94 kB / 0.7795 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/0.5754, allocations: 179.8 kB / 0.7797 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006266/0.576, allocations: 232.5 kB / 0.7799 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00946/0.5855, allocations: 2.847 MB / 0.7827 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006628/0.5921, allocations: 3.063 MB / 0.7857 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00175/0.5939, allocations: 0.7808 MB / 0.7864 GB, free: 9.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003046/0.5969, allocations: 1.237 MB / 0.7876 GB, free: 8.234 MB / 0.545 GB Notification: Performance of Backend: time 6.92e-07/0.5969, allocations: 0 / 0.7876 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01251/0.6094, allocations: 3.626 MB / 0.7912 GB, free: 4.574 MB / 0.545 GB Notification: Performance of SimCode: time 0.007306/0.6167, allocations: 4.85 MB / 0.7959 GB, free: 15.67 MB / 0.5606 GB [CodegenCpp.tpl:12297:11-12297: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:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 3: time >= pwLine1.t1 and time < pwLine1.t2. [CodegenCpp.tpl:12297:11-12297:11:writable] Error: Template error: Unsupported zero crossing at 6: time >= pwLine2.t1 and time < pwLine2.t2. [CodegenCpp.tpl:12297:11-12297: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 659] [Calling sys.exit(0), Time elapsed: 3.5364856601227075] Failed to read output from testmodel.py, exit status != 0: 0.673660104162991 0.687424994 0.25440052399999996 Calling exit ...