Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009064/0.0009065, 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.455/1.455, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008157/0.0008157, allocations: 84.55 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.6 MB / 322 MB, free: 0.793 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3217/0.3217, allocations: 78.06 MB / 450.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.094e-05/1.095e-05, allocations: 4 kB / 0.5147 GB, free: 29.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 69.32 MB / 0.5824 GB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.362/0.4636, allocations: 100.3 MB / 0.6803 GB, free: 7.734 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.4638, allocations: 81.83 kB / 0.6804 GB, free: 7.691 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05524/0.519, allocations: 22.02 MB / 0.7019 GB, free: 5.562 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.519, allocations: 0 / 0.7019 GB, free: 5.562 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.098e-05/0.5191, allocations: 20 kB / 0.7019 GB, free: 5.543 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.002958/0.5221, allocations: 1.321 MB / 0.7032 GB, free: 4.258 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.5221, allocations: 8.031 kB / 0.7032 GB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.5243, allocations: 393.6 kB / 0.7036 GB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.5253, allocations: 0.6414 MB / 0.7042 GB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.5255, allocations: 201.2 kB / 0.7044 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.988e-05/0.5256, allocations: 36 kB / 0.7044 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008947/0.5265, allocations: 0.5818 MB / 0.705 GB, free: 2.766 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.5276, allocations: 0.6573 MB / 0.7057 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5276, allocations: 0 / 0.7057 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.5277, allocations: 0 / 0.7057 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.5277, allocations: 12 kB / 0.7057 GB, free: 2.301 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.004701/0.5324, allocations: 3.044 MB / 0.7086 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/0.5461, allocations: 3.722 MB / 0.7123 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006519/0.5468, allocations: 387.2 kB / 0.7126 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-05/0.5469, allocations: 12.55 kB / 0.7127 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.5469, allocations: 38.81 kB / 0.7127 GB, free: 12.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=69): time 3.206e-06/0.5469, allocations: 4 kB / 0.7127 GB, free: 12.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=69): time 0.005635/0.5526, allocations: 1.947 MB / 0.7146 GB, free: 10.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.5526, allocations: 85.67 kB / 0.7147 GB, free: 10.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/0.5535, allocations: 0.6252 MB / 0.7153 GB, free: 10.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.748e-05/0.5536, allocations: 33.64 kB / 0.7153 GB, free: 10.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.5538, allocations: 406.3 kB / 0.7157 GB, free: 9.801 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.554, allocations: 241.5 kB / 0.7159 GB, free: 9.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.5541, allocations: 0 / 0.7159 GB, free: 9.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.5542, allocations: 340.2 kB / 0.7163 GB, free: 9.266 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.5547, allocations: 331.8 kB / 0.7166 GB, free: 9.102 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.5552, allocations: 433.2 kB / 0.717 GB, free: 8.824 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.5558, allocations: 377.4 kB / 0.7174 GB, free: 8.621 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5558, allocations: 0 / 0.7174 GB, free: 8.621 MB / 458.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006218/0.562, allocations: 2.183 MB / 0.7195 GB, free: 6.832 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.5622, allocations: 0.7006 MB / 0.7202 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.5622, allocations: 0 / 0.7202 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004034/0.5663, allocations: 1.053 MB / 0.7212 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.5668, allocations: 103.5 kB / 0.7213 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008178/0.575, allocations: 4.578 MB / 0.7258 GB, free: 1.719 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009222/0.576, allocations: 115.3 kB / 0.7259 GB, free: 1.605 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.576, allocations: 23.86 kB / 0.7259 GB, free: 1.586 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.576, allocations: 4 kB / 0.7259 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006067/0.5821, allocations: 2.041 MB / 0.7279 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5821, allocations: 11.94 kB / 0.7279 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003896/0.586, allocations: 1.038 MB / 0.7289 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.5865, allocations: 103.1 kB / 0.729 GB, free: 14.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008022/0.5946, allocations: 4.579 MB / 0.7335 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/0.5955, allocations: 95.47 kB / 0.7336 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.5956, allocations: 20.88 kB / 0.7336 GB, free: 11.46 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: breaker.vr.im:VARIABLE() "Imaginary part of complex number" type: Real breaker.vr.re:VARIABLE() "Real part of complex number" 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002794/0.5959, allocations: 131.8 kB / 0.7337 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.596, allocations: 86.88 kB / 0.7338 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005618/0.6017, allocations: 2.025 MB / 0.7358 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6017, allocations: 8 kB / 0.7358 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.6017, allocations: 4 kB / 0.7358 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.6017, allocations: 4.359 kB / 0.7358 GB, free: 9.211 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.007528/0.6093, allocations: 3.3 MB / 0.739 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.6093, allocations: 0 / 0.739 GB, free: 5.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.6099, allocations: 83.89 kB / 0.7391 GB, free: 5.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002879/0.6128, allocations: 0.8845 MB / 0.74 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.6129, allocations: 0 / 0.74 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006141/0.619, allocations: 3.553 MB / 0.7434 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.619, allocations: 3.953 kB / 0.7434 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006255/0.6253, allocations: 2.609 MB / 0.746 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.6256, allocations: 183.8 kB / 0.7462 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.6258, allocations: 4 kB / 0.7462 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009055/0.6267, allocations: 75.92 kB / 0.7462 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/0.627, allocations: 132.3 kB / 0.7464 GB, free: 14.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.6271, allocations: 20 kB / 0.7464 GB, free: 14.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000655/0.6277, allocations: 491.2 kB / 0.7469 GB, free: 13.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6277, allocations: 4 kB / 0.7469 GB, free: 13.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001528/0.6293, allocations: 479.1 kB / 0.7473 GB, free: 13.14 MB / 490.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: 1 (breaker.Open) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00027/0.6296, allocations: 144.7 kB / 0.7475 GB, free: 12.99 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006731/0.6363, allocations: 2.857 MB / 0.7502 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6363, allocations: 4 kB / 0.7503 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002725/0.6391, allocations: 1.156 MB / 0.7514 GB, free: 8.809 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.6396, allocations: 58.38 kB / 0.7514 GB, free: 8.754 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.6427, allocations: 1.532 MB / 0.7529 GB, free: 7.184 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.6433, allocations: 1.016 MB / 0.7539 GB, free: 6.141 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005863/0.6439, allocations: 115.2 kB / 0.754 GB, free: 6.027 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.6441, allocations: 43.42 kB / 0.7541 GB, free: 5.984 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6441, allocations: 0 / 0.7541 GB, free: 5.984 MB / 490.7 MB Notification: Performance of Templates: time 0.02828/0.6724, allocations: 19.17 MB / 0.7728 GB, free: 2.832 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)