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.0008518/0.0008518, allocations: 76.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.8724/0.8724, allocations: 177.2 MB / 200.2 MB, free: 5.941 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.001121/0.001121, allocations: 168.6 kB / 256.7 MB, free: 13.34 MB / 250.7 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.2553/0.2553, allocations: 80.36 MB / 393.5 MB, free: 2.391 MB / 314.7 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5562 GB, free: 12.1 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.694e-05, allocations: 5.234 kB / 0.5562 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.00422/0.004237, allocations: 4.701 MB / 0.5608 GB, free: 7.367 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.006679, allocations: 1.716 MB / 0.5625 GB, free: 5.648 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.00698, allocations: 4 kB / 0.5625 GB, free: 5.645 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.0073, allocations: 162.5 kB / 0.5626 GB, free: 5.484 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.008349, allocations: 0.7087 MB / 0.5633 GB, free: 4.777 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.008933, allocations: 494.2 kB / 0.5638 GB, free: 4.297 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009861/0.009919, allocations: 1.249 MB / 0.565 GB, free: 3.043 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.01013, allocations: 155 kB / 0.5651 GB, free: 2.875 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.01063, allocations: 0.7014 MB / 0.5658 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004002/0.01103, allocations: 490.5 kB / 0.5663 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.103e-05/0.01112, allocations: 116 kB / 0.5664 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.0114, allocations: 255.8 kB / 0.5667 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.01153, allocations: 259 kB / 0.5669 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.01173, allocations: 362.9 kB / 0.5672 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009477/0.01268, allocations: 1.503 MB / 0.5687 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.01268, allocations: 0 / 0.5687 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01268, allocations: 0 / 0.5687 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.01269, allocations: 4 kB / 0.5687 GB, free: 15.21 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.002792/0.01548, allocations: 1.82 MB / 0.5705 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.01551, allocations: 8.031 kB / 0.5705 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.01706, allocations: 0.5349 MB / 0.571 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006646/0.01773, allocations: 0.6248 MB / 0.5716 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.01786, allocations: 201.8 kB / 0.5718 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.01794, allocations: 60 kB / 0.5719 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.01911, allocations: 0.8049 MB / 0.5727 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.01912, allocations: 0 / 0.5727 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.01917, allocations: 20 kB / 0.5727 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.01918, allocations: 16 kB / 0.5727 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008173/0.02, allocations: 0.6805 MB / 0.5734 GB, free: 10.33 MB / 0.4948 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.002667/0.02267, allocations: 2.22 MB / 0.5755 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00583/0.0285, allocations: 2.752 MB / 0.5782 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/0.02905, allocations: 442.6 kB / 0.5786 GB, free: 4.855 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.0291, allocations: 16.64 kB / 0.5787 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.02913, allocations: 39.22 kB / 0.5787 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=64): time 4.168e-06/0.02913, allocations: 0 / 0.5787 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64): time 0.00656/0.03569, allocations: 3.437 MB / 0.5821 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.03573, allocations: 85.77 kB / 0.5821 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.03634, allocations: 0.7781 MB / 0.5829 GB, free: 460 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.03639, allocations: 37.69 kB / 0.5829 GB, free: 416 kB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.03656, allocations: 377 kB / 0.5833 GB, free: 32 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.03671, allocations: 261.9 kB / 0.5835 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.03692, allocations: 174.6 kB / 0.5837 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.03701, allocations: 341.9 kB / 0.584 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/0.03766, allocations: 0.5475 MB / 0.5846 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.03837, allocations: 0.6673 MB / 0.5852 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009037/0.0474, allocations: 4.118 MB / 0.5892 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.04741, allocations: 3.75 kB / 0.5893 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003829/0.05124, allocations: 2.482 MB / 0.5917 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.05125, allocations: 11.94 kB / 0.5917 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.05126, allocations: 3.984 kB / 0.5917 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/0.05332, allocations: 1.047 MB / 0.5927 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.05372, allocations: 167.7 kB / 0.5929 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006046/0.05977, allocations: 4.833 MB / 0.5976 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004862/0.06025, allocations: 123.4 kB / 0.5977 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.0603, allocations: 39.86 kB / 0.5977 GB, free: 1.027 MB / 0.5105 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.0008614/0.06117, allocations: 0.6903 MB / 0.5984 GB, free: 340 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1957/0.2568, allocations: 0.6556 MB / 0.5991 GB, free: 93.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008782/0.2656, allocations: 4.08 MB / 0.603 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.2656, allocations: 3.25 kB / 0.603 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003652/0.2693, allocations: 2.457 MB / 0.6054 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.2693, allocations: 3.125 kB / 0.6055 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.2693, allocations: 6.938 kB / 0.6055 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.2712, allocations: 1.048 MB / 0.6065 GB, free: 92.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.2716, allocations: 158.8 kB / 0.6066 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005681/0.2773, allocations: 4.833 MB / 0.6114 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/0.2779, allocations: 113 kB / 0.6115 GB, free: 89.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.2779, allocations: 30.23 kB / 0.6115 GB, free: 89.99 MB / 0.5105 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.0002137/0.2781, allocations: 234.7 kB / 0.6117 GB, free: 89.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/0.2782, allocations: 93.27 kB / 0.6118 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/0.2817, allocations: 2.026 MB / 0.6138 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2817, allocations: 2.906 kB / 0.6138 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2817, allocations: 2.25 kB / 0.6138 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2818, allocations: 108.2 kB / 0.6139 GB, free: 89.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.2819, allocations: 17.34 kB / 0.6139 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.2823, allocations: 66.22 kB / 0.614 GB, free: 89.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/0.2826, allocations: 191.8 kB / 0.6142 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002573/0.2852, allocations: 1.487 MB / 0.6156 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001875/0.287, allocations: 1.611 MB / 0.6172 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005514/0.2876, allocations: 394.3 kB / 0.6176 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004343/0.288, allocations: 0.5296 MB / 0.6181 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of Backend: time 4.41e-07/0.288, allocations: 0 / 0.6181 GB, free: 87.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004373/0.2924, allocations: 2.488 MB / 0.6205 GB, free: 86.31 MB / 0.5105 GB Notification: Performance of SimCode: time 0.001789/0.2942, allocations: 2.262 MB / 0.6227 GB, free: 84.93 MB / 0.5105 GB [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 0: time >= pwLine1.t1 and time < pwLine1.t2. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 3: time >= pwLine2.t1 and time < pwLine2.t2. [CodegenCpp.tpl:12351:11-12351: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: 2.3818763280287385] Failed to read output from testmodel.py, exit status != 0: 0.31336138397455215 0.318730524 0.304800226 Calling exit ...