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.001543/0.001543, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0007353/0.0007354, allocations: 93.95 kB / 266.6 MB, free: 9.285 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.06465/0.06465, allocations: 12.6 MB / 327.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2798/0.2798, allocations: 78.03 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.897e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 69.33 MB / 0.5895 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4354/0.5371, allocations: 100.6 MB / 0.6878 GB, free: 14.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.5373, allocations: 86.66 kB / 0.6879 GB, free: 14.78 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09787/0.6352, allocations: 22.01 MB / 0.7094 GB, free: 12.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6352, allocations: 0 / 0.7094 GB, free: 12.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.06e-05/0.6353, allocations: 19.94 kB / 0.7094 GB, free: 12.18 MB / 458.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.005646/0.641, allocations: 1.327 MB / 0.7107 GB, free: 10.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.6411, allocations: 11.98 kB / 0.7107 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.6459, allocations: 402.8 kB / 0.7111 GB, free: 10.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.6479, allocations: 0.659 MB / 0.7117 GB, free: 9.965 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.6483, allocations: 232.9 kB / 0.7119 GB, free: 9.727 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.6486, allocations: 69.11 kB / 0.712 GB, free: 9.68 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.6509, allocations: 0.7616 MB / 0.7127 GB, free: 9.184 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.6509, allocations: 1.094 kB / 0.7127 GB, free: 9.184 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.6511, allocations: 30.31 kB / 0.7128 GB, free: 9.176 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/0.6511, allocations: 16 kB / 0.7128 GB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.6531, allocations: 0.6257 MB / 0.7134 GB, free: 8.777 MB / 458.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.009712/0.6629, allocations: 3.34 MB / 0.7167 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/0.6771, allocations: 2.29 MB / 0.7189 GB, free: 4.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.6784, allocations: 408.2 kB / 0.7193 GB, free: 3.945 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.6786, allocations: 12.41 kB / 0.7193 GB, free: 3.938 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.6786, allocations: 38.72 kB / 0.7193 GB, free: 3.895 MB / 458.7 MB Notification: Performance of pre-optimization done (n=72): time 4.889e-06/0.6786, allocations: 0 / 0.7193 GB, free: 3.895 MB / 458.7 MB Notification: Performance of matching and sorting (n=72): time 0.008403/0.6871, allocations: 1.766 MB / 0.7211 GB, free: 2.492 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.6871, allocations: 85.83 kB / 0.7211 GB, free: 2.391 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.6889, allocations: 0.676 MB / 0.7218 GB, free: 1.887 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.689, allocations: 40.52 kB / 0.7218 GB, free: 1.852 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/0.6894, allocations: 412.4 kB / 0.7222 GB, free: 1.605 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00036/0.6898, allocations: 261.7 kB / 0.7225 GB, free: 1.379 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/0.6899, allocations: 14.75 kB / 0.7225 GB, free: 1.375 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.6901, allocations: 329.6 kB / 0.7228 GB, free: 1.059 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009436/0.691, allocations: 359.9 kB / 0.7232 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.6921, allocations: 444.8 kB / 0.7236 GB, free: 0.582 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.6934, allocations: 391 kB / 0.7239 GB, free: 376 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6934, allocations: 3.938 kB / 0.724 GB, free: 372 kB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0103/0.7037, allocations: 1.99 MB / 0.7259 GB, free: 14.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003113/0.704, allocations: 0.6209 MB / 0.7265 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.7041, allocations: 0 / 0.7265 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007262/0.7113, allocations: 1.01 MB / 0.7275 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.7125, allocations: 111.6 kB / 0.7276 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/0.7274, allocations: 4.54 MB / 0.732 GB, free: 9.797 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.7291, allocations: 106 kB / 0.7321 GB, free: 9.703 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.7293, allocations: 27.5 kB / 0.7322 GB, free: 9.684 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7294, allocations: 7.953 kB / 0.7322 GB, free: 9.676 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009433/0.7388, allocations: 1.882 MB / 0.734 GB, free: 8.227 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.7388, allocations: 4 kB / 0.734 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007068/0.7459, allocations: 1.018 MB / 0.735 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.7469, allocations: 99.39 kB / 0.7351 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.7613, allocations: 4.547 MB / 0.7395 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.7629, allocations: 99.39 kB / 0.7396 GB, free: 3.781 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.7631, allocations: 28 kB / 0.7397 GB, free: 3.754 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 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.000411/0.7635, allocations: 144.9 kB / 0.7398 GB, free: 3.605 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003502/0.7639, allocations: 90.88 kB / 0.7399 GB, free: 3.516 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005488/0.7694, allocations: 1.842 MB / 0.7417 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.7694, allocations: 8 kB / 0.7417 GB, free: 1.648 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.7694, allocations: 15.98 kB / 0.7417 GB, free: 1.633 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.7694, allocations: 3.984 kB / 0.7417 GB, free: 1.629 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.006495/0.7759, allocations: 3.193 MB / 0.7448 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.776, allocations: 4 kB / 0.7448 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.7765, allocations: 83.89 kB / 0.7449 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/0.7793, allocations: 0.8352 MB / 0.7457 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/0.7794, allocations: 19.98 kB / 0.7457 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/0.7852, allocations: 3.522 MB / 0.7492 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.7852, allocations: 0 / 0.7492 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005317/0.7905, allocations: 2.419 MB / 0.7515 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.7908, allocations: 187.8 kB / 0.7517 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.7909, allocations: 16.19 kB / 0.7517 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007747/0.7917, allocations: 67.95 kB / 0.7518 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.792, allocations: 128.5 kB / 0.7519 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/0.7921, allocations: 16 kB / 0.7519 GB, free: 6.836 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006799/0.7928, allocations: 0.5226 MB / 0.7525 GB, free: 6.316 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7928, allocations: 0 / 0.7525 GB, free: 6.316 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001281/0.794, allocations: 0.5265 MB / 0.753 GB, free: 5.789 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: 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.7943, allocations: 147.2 kB / 0.7531 GB, free: 5.637 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006359/0.8007, allocations: 2.844 MB / 0.7559 GB, free: 2.676 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.8007, allocations: 0 / 0.7559 GB, free: 2.676 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002629/0.8033, allocations: 1.147 MB / 0.757 GB, free: 1.473 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.8038, allocations: 71.3 kB / 0.7571 GB, free: 1.402 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.807, allocations: 1.613 MB / 0.7586 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.8076, allocations: 1.031 MB / 0.7597 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005666/0.8082, allocations: 119.3 kB / 0.7598 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.8083, allocations: 35.44 kB / 0.7598 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.8083, allocations: 0 / 0.7598 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.02844/0.8368, allocations: 19.8 MB / 0.7791 GB, free: 10.75 MB / 0.5105 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)