Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.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.001268/0.001268, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.357/1.357, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001466/0.001466, allocations: 209.5 kB / 310 MB, free: 3.043 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.5847/0.5847, 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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.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.002419/0.002419, allocations: 83.12 kB / 0.6344 GB, free: 29.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1356, allocations: 80.18 MB / 0.7127 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.007144/0.1427, allocations: 5.29 MB / 0.7179 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004288/0.147, allocations: 2.098 MB / 0.72 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005106/0.1475, allocations: 11.94 kB / 0.72 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.1483, allocations: 234.1 kB / 0.7202 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.1502, allocations: 0.8152 MB / 0.721 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1516, allocations: 0.723 MB / 0.7217 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.1538, allocations: 1.913 MB / 0.7236 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.1541, allocations: 185.8 kB / 0.7237 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.1552, allocations: 0.7202 MB / 0.7244 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.1562, allocations: 0.7389 MB / 0.7252 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.1565, allocations: 168 kB / 0.7253 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000622/0.1571, allocations: 303.9 kB / 0.7256 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.1575, allocations: 370.7 kB / 0.726 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000569/0.158, allocations: 0.5442 MB / 0.7265 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.1602, allocations: 2.016 MB / 0.7285 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1602, allocations: 0 / 0.7285 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1602, allocations: 0 / 0.7285 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.1602, allocations: 4 kB / 0.7285 GB, free: 6.887 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.006928/0.1672, allocations: 2.245 MB / 0.7307 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1672, allocations: 8.031 kB / 0.7307 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.1705, allocations: 0.5582 MB / 0.7312 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.1725, allocations: 0.9509 MB / 0.7321 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003812/0.1728, allocations: 368 kB / 0.7325 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.173, allocations: 72 kB / 0.7326 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.175, allocations: 1.022 MB / 0.7336 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.175, allocations: 0 / 0.7336 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/0.1751, allocations: 24 kB / 0.7336 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.1751, allocations: 16 kB / 0.7336 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.1771, allocations: 0.9031 MB / 0.7345 GB, free: 0.5547 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.006177/0.1832, allocations: 2.844 MB / 0.7373 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/0.1962, allocations: 3.065 MB / 0.7403 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.1975, allocations: 0.5349 MB / 0.7408 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-05/0.1976, allocations: 12.64 kB / 0.7408 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.1976, allocations: 43.16 kB / 0.7408 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=76): time 2.995e-06/0.1976, allocations: 4 kB / 0.7408 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76): time 0.01352/0.2111, allocations: 3.722 MB / 0.7445 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.2112, allocations: 111.5 kB / 0.7446 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.2135, allocations: 1.125 MB / 0.7457 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.2136, allocations: 41.7 kB / 0.7457 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.2141, allocations: 485 kB / 0.7462 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.2144, allocations: 297.5 kB / 0.7465 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/0.2148, allocations: 206.9 kB / 0.7467 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.215, allocations: 341.9 kB / 0.747 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.2164, allocations: 0.6579 MB / 0.7476 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.2179, allocations: 0.8214 MB / 0.7484 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02039/0.2383, allocations: 4.621 MB / 0.7529 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2383, allocations: 0 / 0.7529 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.008239/0.2466, allocations: 2.743 MB / 0.7556 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.2466, allocations: 5.562 kB / 0.7556 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2466, allocations: 7.938 kB / 0.7556 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/0.2508, allocations: 1.035 MB / 0.7566 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.252, allocations: 223.7 kB / 0.7569 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.263, allocations: 4.841 MB / 0.7616 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.2647, allocations: 167.3 kB / 0.7617 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.2648, allocations: 39.98 kB / 0.7618 GB, free: 4.238 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: 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.001771/0.2666, allocations: 0.8227 MB / 0.7626 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001457/0.268, allocations: 0.7981 MB / 0.7634 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01983/0.2878, allocations: 4.555 MB / 0.7678 GB, free: 14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/0.2879, allocations: 3.938 kB / 0.7678 GB, free: 13.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=137) (initialization_lambda0): time 0.008079/0.2959, allocations: 2.684 MB / 0.7704 GB, free: 11.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.296, allocations: 7.938 kB / 0.7704 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.296, allocations: 0 / 0.7704 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004228/0.3002, allocations: 1.05 MB / 0.7715 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.3014, allocations: 207.7 kB / 0.7717 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.3125, allocations: 4.832 MB / 0.7764 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.3143, allocations: 163.3 kB / 0.7765 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.3144, allocations: 35.98 kB / 0.7766 GB, free: 4.887 MB / 0.545 GB Warning: Assuming fixed start value for the following 1 variables: 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: 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 (116): * Single equations (assignments): 113 * 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.0003842/0.3148, allocations: 245.9 kB / 0.7768 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.315, allocations: 115.2 kB / 0.7769 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006794/0.3218, allocations: 2.259 MB / 0.7791 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/0.3218, allocations: 3.984 kB / 0.7791 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3218, allocations: 4 kB / 0.7791 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004222/0.3222, allocations: 147.1 kB / 0.7793 GB, free: 2.094 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.3224, allocations: 20 kB / 0.7793 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.3236, allocations: 107.9 kB / 0.7794 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004779/0.324, allocations: 200.3 kB / 0.7796 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005643/0.3297, allocations: 1.753 MB / 0.7813 GB, free: 0 / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004237/0.3339, allocations: 2.015 MB / 0.7833 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001153/0.3351, allocations: 0.5009 MB / 0.7838 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001609/0.3367, allocations: 0.7951 MB / 0.7845 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of Backend: time 5.01e-07/0.3367, allocations: 0 / 0.7845 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008587/0.3453, allocations: 2.741 MB / 0.7872 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of SimCode: time 0.004369/0.3496, allocations: 2.942 MB / 0.7901 GB, free: 6.875 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_2.Network could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.676661842968315] Failed to read output from testmodel.py, exit status != 0: 0.6673389980569482 0.679135551 0.516377581 Calling exit ...