Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0008824/0.0008824, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.8648/0.8648, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.0009664/0.0009664, allocations: 160.6 kB / 256.7 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.258/0.258, allocations: 80.25 MB / 393.4 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.556 GB, free: 11.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/2.061e-05, allocations: 6.109 kB / 0.556 GB, free: 11.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network): time 0.004194/0.004214, allocations: 4.864 MB / 0.5608 GB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.006346, allocations: 1.766 MB / 0.5625 GB, free: 5.152 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.006585, allocations: 11.94 kB / 0.5625 GB, free: 5.141 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.006918, allocations: 178.4 kB / 0.5627 GB, free: 4.965 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009604/0.007878, allocations: 0.7128 MB / 0.5634 GB, free: 4.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.008445, allocations: 0.4997 MB / 0.5639 GB, free: 3.754 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008266/0.009271, allocations: 1.299 MB / 0.5651 GB, free: 2.449 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.009504, allocations: 178.8 kB / 0.5653 GB, free: 2.254 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005588/0.01006, allocations: 0.7326 MB / 0.566 GB, free: 1.52 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.01051, allocations: 0.5024 MB / 0.5665 GB, free: 1.016 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.01062, allocations: 116 kB / 0.5666 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005509/0.01117, allocations: 271.8 kB / 0.5669 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.01132, allocations: 270.9 kB / 0.5671 GB, free: 380 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.01153, allocations: 370.9 kB / 0.5675 GB, free: 8 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1949/0.2065, allocations: 1.59 MB / 0.569 GB, free: 17.36 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2065, allocations: 0 / 0.569 GB, free: 17.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2065, allocations: 1.25 kB / 0.569 GB, free: 17.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.2065, allocations: 0 / 0.569 GB, free: 17.36 MB / 442.7 MB 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.003211/0.2097, allocations: 1.875 MB / 0.5709 GB, free: 16.67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2097, allocations: 8.734 kB / 0.5709 GB, free: 16.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.2114, allocations: 0.5385 MB / 0.5714 GB, free: 16.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.2122, allocations: 0.6457 MB / 0.572 GB, free: 16.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.2124, allocations: 320.2 kB / 0.5723 GB, free: 16.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.2125, allocations: 68.94 kB / 0.5724 GB, free: 16.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.2135, allocations: 0.8646 MB / 0.5733 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2136, allocations: 1.703 kB / 0.5733 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.2136, allocations: 20.34 kB / 0.5733 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2136, allocations: 14.5 kB / 0.5733 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000947/0.2146, allocations: 0.7187 MB / 0.574 GB, free: 15.96 MB / 442.7 MB 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.003086/0.2177, allocations: 2.364 MB / 0.5763 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006478/0.2241, allocations: 2.785 MB / 0.579 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007348/0.2249, allocations: 462.4 kB / 0.5795 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-05/0.2249, allocations: 12.62 kB / 0.5795 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.225, allocations: 39.62 kB / 0.5795 GB, free: 14.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 2.114e-06/0.225, allocations: 0 / 0.5795 GB, free: 14.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=69): time 0.006999/0.232, allocations: 3.359 MB / 0.5828 GB, free: 13.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.232, allocations: 84.64 kB / 0.5829 GB, free: 13.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007851/0.2328, allocations: 0.7903 MB / 0.5836 GB, free: 13.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/0.2328, allocations: 41.11 kB / 0.5837 GB, free: 13.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.233, allocations: 399.4 kB / 0.5841 GB, free: 12.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.2332, allocations: 263.9 kB / 0.5843 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.2334, allocations: 187.2 kB / 0.5845 GB, free: 12.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.2334, allocations: 343.7 kB / 0.5848 GB, free: 12.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.2341, allocations: 0.5615 MB / 0.5854 GB, free: 11.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/0.2349, allocations: 0.6995 MB / 0.586 GB, free: 11.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009223/0.2441, allocations: 4.187 MB / 0.5901 GB, free: 10.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2441, allocations: 5.094 kB / 0.5901 GB, free: 10.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00412/0.2483, allocations: 2.555 MB / 0.5926 GB, free: 8.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2483, allocations: 5.031 kB / 0.5926 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2483, allocations: 2.062 kB / 0.5926 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002271/0.2506, allocations: 1.084 MB / 0.5937 GB, free: 8.227 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.251, allocations: 166.3 kB / 0.5939 GB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006212/0.2572, allocations: 5.14 MB / 0.5989 GB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.2579, allocations: 122.6 kB / 0.599 GB, free: 4.738 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.2579, allocations: 35.7 kB / 0.599 GB, free: 4.727 MB / 442.7 MB 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.0009243/0.2589, allocations: 0.7155 MB / 0.5997 GB, free: 4.309 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006468/0.2595, allocations: 0.6824 MB / 0.6004 GB, free: 3.887 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008593/0.2681, allocations: 4.152 MB / 0.6045 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.427e-06/0.2681, allocations: 4 kB / 0.6045 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization_lambda0): time 0.003949/0.272, allocations: 2.535 MB / 0.6069 GB, free: 14.26 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2721, allocations: 4 kB / 0.6069 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2721, allocations: 4 kB / 0.6069 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/0.2741, allocations: 1.085 MB / 0.608 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.2745, allocations: 162.3 kB / 0.6082 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/0.281, allocations: 5.126 MB / 0.6132 GB, free: 7.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.2816, allocations: 115.5 kB / 0.6133 GB, free: 7.688 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.2817, allocations: 35.98 kB / 0.6133 GB, free: 7.652 MB / 458.7 MB 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.0002849/0.2819, allocations: 238 kB / 0.6135 GB, free: 7.426 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2821, allocations: 95.39 kB / 0.6136 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/0.2854, allocations: 2.097 MB / 0.6157 GB, free: 5.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.2854, allocations: 3.984 kB / 0.6157 GB, free: 5.227 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2854, allocations: 0 / 0.6157 GB, free: 5.227 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.2856, allocations: 115.2 kB / 0.6158 GB, free: 5.113 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/0.2857, allocations: 15.98 kB / 0.6158 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.286, allocations: 67.88 kB / 0.6159 GB, free: 5.031 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.2863, allocations: 200.3 kB / 0.6161 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002512/0.2888, allocations: 1.536 MB / 0.6176 GB, free: 3.301 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002063/0.2909, allocations: 1.662 MB / 0.6192 GB, free: 1.625 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005517/0.2914, allocations: 412.5 kB / 0.6196 GB, free: 1.227 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004858/0.2919, allocations: 0.5342 MB / 0.6201 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of Backend: time 5.71e-07/0.2919, allocations: 3.391 kB / 0.6201 GB, free: 0.6992 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004488/0.2964, allocations: 2.625 MB / 0.6227 GB, free: 14.07 MB / 474.7 MB Notification: Performance of SimCode: time 0.002038/0.2984, allocations: 2.378 MB / 0.625 GB, free: 11.66 MB / 474.7 MB [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_1Mod.Network could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.3467746870592237] Failed to read output from testmodel.py, exit status != 0: 0.318310234695673 0.326783213 0.118733135 Calling exit ...