Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.001476/0.001476, 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.366/1.366, 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.00151/0.00151, allocations: 213.1 kB / 310 MB, free: 3.082 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.5611/0.5611, allocations: 107.3 MB / 473.7 MB, free: 29.65 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_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") [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.002398/0.002398, allocations: 85.72 kB / 0.6345 GB, free: 29.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1236, allocations: 80.17 MB / 0.7127 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.006128/0.1297, allocations: 4.725 MB / 0.7174 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.1329, allocations: 1.712 MB / 0.719 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000316/0.1332, allocations: 4 kB / 0.719 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.1336, allocations: 166.5 kB / 0.7192 GB, free: 440 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.1351, allocations: 0.6853 MB / 0.7199 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009418/0.1361, allocations: 496.1 kB / 0.7203 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.1373, allocations: 1.21 MB / 0.7215 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/0.1376, allocations: 155 kB / 0.7217 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006014/0.1382, allocations: 0.502 MB / 0.7222 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006911/0.1389, allocations: 0.5483 MB / 0.7227 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.1391, allocations: 112 kB / 0.7228 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.1395, allocations: 259.9 kB / 0.723 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.1397, allocations: 251 kB / 0.7233 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.1401, allocations: 437.8 kB / 0.7237 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.1417, allocations: 1.467 MB / 0.7251 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1417, allocations: 0 / 0.7251 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1417, allocations: 0 / 0.7251 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.1417, allocations: 0 / 0.7251 GB, free: 10.32 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005453/0.1471, allocations: 1.824 MB / 0.7269 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1472, allocations: 8.031 kB / 0.7269 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.1504, allocations: 0.5311 MB / 0.7274 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.1515, allocations: 0.6403 MB / 0.7281 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.1517, allocations: 197.8 kB / 0.7283 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.1518, allocations: 59.95 kB / 0.7283 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.1533, allocations: 0.8127 MB / 0.7291 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1534, allocations: 0 / 0.7291 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.1534, allocations: 20 kB / 0.7291 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.1534, allocations: 12 kB / 0.7291 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.1548, allocations: 0.6844 MB / 0.7298 GB, free: 5.418 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.004602/0.1594, allocations: 2.207 MB / 0.732 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.1715, allocations: 2.768 MB / 0.7347 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009814/0.1725, allocations: 438.7 kB / 0.7351 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.789e-05/0.1725, allocations: 8.656 kB / 0.7351 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.1726, allocations: 51.14 kB / 0.7351 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=64): time 2.535e-06/0.1726, allocations: 0 / 0.7351 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64): time 0.01238/0.185, allocations: 3.422 MB / 0.7385 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.185, allocations: 85.77 kB / 0.7386 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.1861, allocations: 0.7742 MB / 0.7393 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.1862, allocations: 41.7 kB / 0.7394 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.1865, allocations: 381 kB / 0.7397 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.1868, allocations: 249.9 kB / 0.74 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/0.1871, allocations: 178.6 kB / 0.7401 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1873, allocations: 345.9 kB / 0.7405 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.1884, allocations: 0.5436 MB / 0.741 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.1896, allocations: 0.6866 MB / 0.7417 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01805/0.2076, allocations: 4.118 MB / 0.7457 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2076, allocations: 0 / 0.7457 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.007338/0.215, allocations: 2.482 MB / 0.7481 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.215, allocations: 4 kB / 0.7481 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.215, allocations: 7.938 kB / 0.7481 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/0.2191, allocations: 1.04 MB / 0.7491 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008738/0.22, allocations: 163.8 kB / 0.7493 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.2307, allocations: 4.85 MB / 0.754 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.2319, allocations: 119.4 kB / 0.7541 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.2321, allocations: 39.98 kB / 0.7542 GB, free: 12.12 MB / 0.5294 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.001444/0.2335, allocations: 0.6894 MB / 0.7549 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001228/0.2347, allocations: 0.6633 MB / 0.7555 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01775/0.2525, allocations: 4.083 MB / 0.7595 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/0.2525, allocations: 0 / 0.7595 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.007166/0.2597, allocations: 2.458 MB / 0.7619 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2597, allocations: 4 kB / 0.7619 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2597, allocations: 4 kB / 0.7619 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004026/0.2637, allocations: 1.054 MB / 0.7629 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/0.2645, allocations: 155.8 kB / 0.7631 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.2751, allocations: 4.843 MB / 0.7678 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.2763, allocations: 111.4 kB / 0.7679 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.2764, allocations: 35.98 kB / 0.7679 GB, free: 13.84 MB / 0.545 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * 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.0003483/0.2768, allocations: 234.1 kB / 0.7682 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.277, allocations: 87.44 kB / 0.7682 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006142/0.2831, allocations: 2.03 MB / 0.7702 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.2831, allocations: 0 / 0.7702 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2831, allocations: 0 / 0.7702 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000252/0.2834, allocations: 119.2 kB / 0.7703 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.2836, allocations: 16 kB / 0.7704 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007967/0.2844, allocations: 59.88 kB / 0.7704 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004105/0.2848, allocations: 192.3 kB / 0.7706 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004759/0.2895, allocations: 1.495 MB / 0.7721 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003158/0.2927, allocations: 1.596 MB / 0.7736 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008737/0.2936, allocations: 397 kB / 0.774 GB, free: 7.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007493/0.2943, allocations: 0.5303 MB / 0.7745 GB, free: 7.051 MB / 0.545 GB Notification: Performance of Backend: time 4.21e-07/0.2943, allocations: 0 / 0.7745 GB, free: 7.051 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007522/0.3018, allocations: 2.495 MB / 0.777 GB, free: 4.512 MB / 0.545 GB Notification: Performance of SimCode: time 0.003043/0.3049, allocations: 2.409 MB / 0.7793 GB, free: 2.051 MB / 0.545 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_1.Network1 could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.3180564739741385] Failed to read output from testmodel.py, exit status != 0: 0.3375264760106802 0.351832901 0.20728147200000002 Calling exit ...