Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009054/0.0009055, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008003/0.0008003, allocations: 93.81 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06752/0.06752, allocations: 12.59 MB / 321.9 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2905/0.2905, allocations: 78.05 MB / 450.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.479e-05, allocations: 4 kB / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 69.32 MB / 0.5824 GB, free: 8.402 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4562, allocations: 99.98 MB / 0.68 GB, free: 8.035 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.4564, allocations: 81.64 kB / 0.6801 GB, free: 7.992 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05552/0.512, allocations: 21.73 MB / 0.7013 GB, free: 6.137 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.512, allocations: 0 / 0.7013 GB, free: 6.137 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.469e-05/0.5121, allocations: 19.94 kB / 0.7014 GB, free: 6.117 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003359/0.5154, allocations: 1.329 MB / 0.7027 GB, free: 4.828 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.5155, allocations: 8.031 kB / 0.7027 GB, free: 4.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002439/0.5179, allocations: 398 kB / 0.703 GB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.5192, allocations: 0.6705 MB / 0.7037 GB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.5194, allocations: 207.5 kB / 0.7039 GB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.5195, allocations: 43.75 kB / 0.7039 GB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001034/0.5206, allocations: 0.5973 MB / 0.7045 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.5217, allocations: 0.6777 MB / 0.7052 GB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.5217, allocations: 0 / 0.7052 GB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.779e-05/0.5218, allocations: 0 / 0.7052 GB, free: 2.805 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.5218, allocations: 16 kB / 0.7052 GB, free: 2.789 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005253/0.5271, allocations: 3.21 MB / 0.7083 GB, free: 320 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007988/0.5351, allocations: 2.274 MB / 0.7106 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.5356, allocations: 391.4 kB / 0.7109 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.157e-05/0.5357, allocations: 8.781 kB / 0.7109 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.5358, allocations: 45.47 kB / 0.711 GB, free: 14.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=72): time 2.304e-06/0.5358, allocations: 0 / 0.711 GB, free: 14.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=72): time 0.004568/0.5404, allocations: 1.702 MB / 0.7126 GB, free: 12.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.5404, allocations: 93.39 kB / 0.7127 GB, free: 12.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008713/0.5413, allocations: 0.6263 MB / 0.7133 GB, free: 12.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/0.5414, allocations: 25.7 kB / 0.7134 GB, free: 12.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.5416, allocations: 419.4 kB / 0.7138 GB, free: 11.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.5418, allocations: 253 kB / 0.714 GB, free: 11.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.5419, allocations: 0 / 0.714 GB, free: 11.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.542, allocations: 332.9 kB / 0.7143 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.5425, allocations: 337.6 kB / 0.7146 GB, free: 11.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.5431, allocations: 427.3 kB / 0.7151 GB, free: 10.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.5436, allocations: 375.8 kB / 0.7154 GB, free: 10.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.5436, allocations: 4 kB / 0.7154 GB, free: 10.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005303/0.5489, allocations: 1.923 MB / 0.7173 GB, free: 9.105 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.5492, allocations: 0.6192 MB / 0.7179 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.5492, allocations: 4 kB / 0.7179 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003941/0.5531, allocations: 1.002 MB / 0.7189 GB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.5537, allocations: 106.8 kB / 0.719 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007795/0.5615, allocations: 4.378 MB / 0.7233 GB, free: 4.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008547/0.5624, allocations: 87.39 kB / 0.7233 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.5624, allocations: 26.75 kB / 0.7234 GB, free: 4.164 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/0.5625, allocations: 8 kB / 0.7234 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00506/0.5675, allocations: 1.794 MB / 0.7251 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.5675, allocations: 7.891 kB / 0.7251 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00383/0.5714, allocations: 1.002 MB / 0.7261 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/0.5719, allocations: 99.14 kB / 0.7262 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007547/0.5795, allocations: 4.381 MB / 0.7305 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008513/0.5803, allocations: 87.33 kB / 0.7306 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.038e-05/0.5804, allocations: 30.61 kB / 0.7306 GB, free: 14.45 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker1.vr.re:VARIABLE() "Real part of complex number" type: Real breaker1.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker2.vr.re:VARIABLE() "Real part of complex number" 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: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.5807, allocations: 117.6 kB / 0.7307 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.5809, allocations: 87.34 kB / 0.7308 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004653/0.5855, allocations: 1.772 MB / 0.7325 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.5856, allocations: 8 kB / 0.7325 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.5856, allocations: 8 kB / 0.7325 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.5856, allocations: 7.922 kB / 0.7325 GB, free: 12.57 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.006343/0.5919, allocations: 3.06 MB / 0.7355 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.592, allocations: 0 / 0.7355 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.5925, allocations: 83.89 kB / 0.7356 GB, free: 9.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002764/0.5953, allocations: 0.832 MB / 0.7364 GB, free: 8.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.5954, allocations: 7.984 kB / 0.7364 GB, free: 8.492 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005653/0.601, allocations: 3.427 MB / 0.7398 GB, free: 4.949 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.601, allocations: 4 kB / 0.7398 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005224/0.6063, allocations: 2.353 MB / 0.7421 GB, free: 2.547 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.6065, allocations: 183.8 kB / 0.7423 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.6067, allocations: 12.08 kB / 0.7423 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/0.6074, allocations: 59.89 kB / 0.7423 GB, free: 2.277 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.6077, allocations: 116.4 kB / 0.7424 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.6078, allocations: 19.98 kB / 0.7425 GB, free: 2.145 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006333/0.6084, allocations: 487.2 kB / 0.7429 GB, free: 1.676 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6084, allocations: 0 / 0.7429 GB, free: 1.676 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001463/0.6099, allocations: 483.1 kB / 0.7434 GB, free: 1.203 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 2 (breaker1.Open,breaker2.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(13,35.5%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00025/0.6101, allocations: 139.1 kB / 0.7435 GB, free: 1.055 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006064/0.6162, allocations: 2.741 MB / 0.7462 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6162, allocations: 0 / 0.7462 GB, free: 14.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.6187, allocations: 1.117 MB / 0.7473 GB, free: 13.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.6192, allocations: 51.3 kB / 0.7473 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.6224, allocations: 1.591 MB / 0.7489 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.6229, allocations: 1.032 MB / 0.7499 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005865/0.6235, allocations: 115.3 kB / 0.75 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.6237, allocations: 39.42 kB / 0.75 GB, free: 10.14 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6237, allocations: 0 / 0.75 GB, free: 10.14 MB / 490.7 MB Notification: Performance of Templates: time 0.02723/0.6509, allocations: 18.19 MB / 0.7678 GB, free: 7.973 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)