Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.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.001511/0.001511, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.377/1.377, allocations: 230.6 MB / 253.4 MB, free: 14.27 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.001482/0.001482, allocations: 210 kB / 310 MB, free: 3.074 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.5916/0.5916, allocations: 107.3 MB / 473.7 MB, free: 29.78 MB / 350.1 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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") [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.002442/0.002442, allocations: 85.7 kB / 0.6345 GB, free: 29.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1292, allocations: 80.18 MB / 0.7128 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network): time 0.006247/0.1355, allocations: 4.871 MB / 0.7175 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.1388, allocations: 1.759 MB / 0.7192 GB, free: 360 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003774/0.1392, allocations: 8 kB / 0.7192 GB, free: 352 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.1397, allocations: 190.4 kB / 0.7194 GB, free: 160 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.1413, allocations: 0.7031 MB / 0.7201 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1423, allocations: 0.4984 MB / 0.7206 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.1437, allocations: 1.261 MB / 0.7218 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.144, allocations: 166.9 kB / 0.722 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006544/0.1446, allocations: 0.5253 MB / 0.7225 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007389/0.1454, allocations: 0.5793 MB / 0.7231 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.1455, allocations: 116 kB / 0.7232 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004981/0.146, allocations: 271.9 kB / 0.7234 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.1463, allocations: 267 kB / 0.7237 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.1467, allocations: 449.6 kB / 0.7241 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.1483, allocations: 1.545 MB / 0.7256 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1483, allocations: 0 / 0.7256 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1483, allocations: 0 / 0.7256 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.1483, allocations: 3.938 kB / 0.7256 GB, free: 9.773 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.005684/0.154, allocations: 1.883 MB / 0.7275 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1541, allocations: 11.97 kB / 0.7275 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.1573, allocations: 0.5427 MB / 0.728 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.1585, allocations: 0.6444 MB / 0.7286 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.1588, allocations: 316.6 kB / 0.7289 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.159, allocations: 63.95 kB / 0.729 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.1607, allocations: 0.8712 MB / 0.7299 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1607, allocations: 0 / 0.7299 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.1608, allocations: 27.94 kB / 0.7299 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.1608, allocations: 16 kB / 0.7299 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.1623, allocations: 0.7196 MB / 0.7306 GB, free: 4.543 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.005176/0.1675, allocations: 2.366 MB / 0.7329 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01224/0.1797, allocations: 2.776 MB / 0.7356 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.1809, allocations: 463.8 kB / 0.7361 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.1809, allocations: 8.656 kB / 0.7361 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.181, allocations: 43.22 kB / 0.7361 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=69): time 3.737e-06/0.181, allocations: 0 / 0.7361 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69): time 0.01228/0.1933, allocations: 3.363 MB / 0.7394 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.1933, allocations: 85.77 kB / 0.7395 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.1945, allocations: 0.7821 MB / 0.7402 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.1946, allocations: 41.7 kB / 0.7403 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.195, allocations: 400.9 kB / 0.7407 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.1953, allocations: 265.7 kB / 0.7409 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.1956, allocations: 190.6 kB / 0.7411 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1958, allocations: 345.9 kB / 0.7414 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.197, allocations: 0.5634 MB / 0.742 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.1983, allocations: 0.6972 MB / 0.7427 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01855/0.2168, allocations: 4.186 MB / 0.7467 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.2168, allocations: 0 / 0.7467 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00765/0.2245, allocations: 2.56 MB / 0.7492 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2245, allocations: 11.94 kB / 0.7493 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2245, allocations: 0 / 0.7493 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004185/0.2287, allocations: 1.085 MB / 0.7503 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.2296, allocations: 175.7 kB / 0.7505 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.2409, allocations: 5.128 MB / 0.7555 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.2422, allocations: 123.4 kB / 0.7556 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/0.2423, allocations: 32 kB / 0.7556 GB, free: 10.55 MB / 0.5294 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real 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.001462/0.2437, allocations: 0.7142 MB / 0.7563 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001224/0.245, allocations: 0.6777 MB / 0.757 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01812/0.2631, allocations: 4.158 MB / 0.7611 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.552e-06/0.2631, allocations: 0 / 0.7611 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.007517/0.2706, allocations: 2.532 MB / 0.7635 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2706, allocations: 12 kB / 0.7635 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2706, allocations: 0 / 0.7635 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004151/0.2748, allocations: 1.09 MB / 0.7646 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008836/0.2757, allocations: 167.7 kB / 0.7648 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.2871, allocations: 5.122 MB / 0.7698 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.2883, allocations: 111.4 kB / 0.7699 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.2884, allocations: 35.98 kB / 0.7699 GB, free: 11.74 MB / 0.545 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real 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: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 99 * 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,15,45.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003794/0.2888, allocations: 236.7 kB / 0.7701 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.289, allocations: 95.39 kB / 0.7702 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006469/0.2955, allocations: 2.108 MB / 0.7723 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.2955, allocations: 3.984 kB / 0.7723 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2955, allocations: 0 / 0.7723 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.2958, allocations: 119.2 kB / 0.7724 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.2959, allocations: 12 kB / 0.7724 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/0.2967, allocations: 67.94 kB / 0.7725 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/0.2971, allocations: 196.3 kB / 0.7727 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00482/0.302, allocations: 1.539 MB / 0.7742 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003164/0.3051, allocations: 1.662 MB / 0.7758 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008989/0.306, allocations: 409 kB / 0.7762 GB, free: 5.254 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007195/0.3067, allocations: 0.5342 MB / 0.7767 GB, free: 4.723 MB / 0.545 GB Notification: Performance of Backend: time 2.51e-07/0.3067, allocations: 0 / 0.7767 GB, free: 4.723 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008042/0.3148, allocations: 2.619 MB / 0.7793 GB, free: 2.055 MB / 0.545 GB Notification: Performance of SimCode: time 0.003244/0.318, allocations: 2.541 MB / 0.7817 GB, free: 15.46 MB / 0.5606 GB [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 0: time >= pwLine1.t1 and time < pwLine1.t2. [CodegenCpp.tpl:12296:11-12296:11:writable] Error: Template error: Unsupported zero crossing at 3: time >= pwLine2.t1 and time < pwLine2.t2. [CodegenCpp.tpl:12296:11-12296: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_1Mod.Network could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.656230919994414] Failed to read output from testmodel.py, exit status != 0: 0.35086578596383333 0.6208400829999999 0.21357404299999996 Calling exit ...