Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008734/0.0008734, allocations: 90.5 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.446/0.446, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.823e-05, allocations: 4 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2806, allocations: 69.34 MB / 0.548 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3906, allocations: 98.91 MB / 0.6445 GB, free: 1.516 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.3909, allocations: 83.95 kB / 0.6446 GB, free: 1.434 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05983/0.4507, allocations: 22.21 MB / 0.6663 GB, free: 11.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4507, allocations: 4 kB / 0.6663 GB, free: 11.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.065e-05/0.4508, allocations: 12 kB / 0.6663 GB, free: 11.02 MB / 490.7 MB 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.002949/0.4537, allocations: 1.259 MB / 0.6676 GB, free: 9.715 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4538, allocations: 15.97 kB / 0.6676 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.4561, allocations: 391.7 kB / 0.6679 GB, free: 9.316 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.4572, allocations: 0.5979 MB / 0.6685 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.4574, allocations: 146.4 kB / 0.6687 GB, free: 8.516 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.4576, allocations: 60.25 kB / 0.6687 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.4588, allocations: 0.6901 MB / 0.6694 GB, free: 7.754 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4588, allocations: 4 kB / 0.6694 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/0.4589, allocations: 23.94 kB / 0.6694 GB, free: 7.727 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4589, allocations: 15.94 kB / 0.6694 GB, free: 7.711 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009786/0.4599, allocations: 0.5793 MB / 0.67 GB, free: 7.129 MB / 490.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.005107/0.465, allocations: 2.874 MB / 0.6728 GB, free: 4.125 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/0.4784, allocations: 3.695 MB / 0.6764 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2585/0.737, allocations: 393.3 kB / 0.6768 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.7372, allocations: 9.5 kB / 0.6768 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.7372, allocations: 39.25 kB / 0.6768 GB, free: 108.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.086e-06/0.7372, allocations: 0 / 0.6768 GB, free: 108.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006731/0.744, allocations: 1.936 MB / 0.6787 GB, free: 108.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.744, allocations: 83.98 kB / 0.6788 GB, free: 108.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.7452, allocations: 0.6683 MB / 0.6795 GB, free: 108.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.7454, allocations: 37.66 kB / 0.6795 GB, free: 108.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.7456, allocations: 390.3 kB / 0.6799 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.7458, allocations: 227 kB / 0.6801 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.7459, allocations: 15.62 kB / 0.6801 GB, free: 108.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.7459, allocations: 336 kB / 0.6804 GB, free: 108 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.7466, allocations: 338.3 kB / 0.6808 GB, free: 108 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.7472, allocations: 434.8 kB / 0.6812 GB, free: 108 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.7479, allocations: 377.8 kB / 0.6815 GB, free: 108 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7479, allocations: 4.531 kB / 0.6815 GB, free: 108 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006665/0.7546, allocations: 2.166 MB / 0.6836 GB, free: 107.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.7547, allocations: 0.7092 MB / 0.6843 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.7547, allocations: 5.5 kB / 0.6843 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004173/0.7589, allocations: 1.022 MB / 0.6853 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.7596, allocations: 109.8 kB / 0.6854 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00768/0.7672, allocations: 4.44 MB / 0.6898 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.7683, allocations: 126.9 kB / 0.6899 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.7684, allocations: 23.72 kB / 0.6899 GB, free: 105.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.7684, allocations: 9.359 kB / 0.6899 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00582/0.7743, allocations: 2.071 MB / 0.692 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.7743, allocations: 3.719 kB / 0.692 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003768/0.7781, allocations: 1.015 MB / 0.693 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.7786, allocations: 105.2 kB / 0.6931 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007261/0.7858, allocations: 4.44 MB / 0.6974 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/0.7868, allocations: 113.6 kB / 0.6975 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.7869, allocations: 22.59 kB / 0.6975 GB, free: 101.9 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.avr.vref:VARIABLE(unit = "1" fixed = false protected = true ) 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.7871, allocations: 149 kB / 0.6977 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.7872, allocations: 86.41 kB / 0.6977 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004957/0.7922, allocations: 2.02 MB / 0.6997 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.7922, allocations: 11.3 kB / 0.6997 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7922, allocations: 5.812 kB / 0.6997 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7923, allocations: 7.844 kB / 0.6997 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00627/0.7985, allocations: 3.3 MB / 0.703 GB, free: 99.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.7986, allocations: 3.75 kB / 0.703 GB, free: 99.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004965/0.7991, allocations: 85.5 kB / 0.703 GB, free: 99.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.8017, allocations: 0.8579 MB / 0.7039 GB, free: 99.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.8018, allocations: 15.22 kB / 0.7039 GB, free: 99.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/0.8067, allocations: 3.359 MB / 0.7072 GB, free: 96.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8068, allocations: 0 / 0.7072 GB, free: 96.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.8123, allocations: 2.582 MB / 0.7097 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.8127, allocations: 182.4 kB / 0.7099 GB, free: 94.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.8128, allocations: 16 kB / 0.7099 GB, free: 94.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007865/0.8136, allocations: 76.36 kB / 0.71 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/0.8139, allocations: 126.2 kB / 0.7101 GB, free: 94.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/0.814, allocations: 24 kB / 0.7101 GB, free: 94.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005776/0.8146, allocations: 0.5162 MB / 0.7106 GB, free: 93.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8146, allocations: 96 / 0.7106 GB, free: 93.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001171/0.8158, allocations: 490.8 kB / 0.7111 GB, free: 93.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * 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 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002764/0.8161, allocations: 153.3 kB / 0.7112 GB, free: 93.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006064/0.8221, allocations: 2.787 MB / 0.7139 GB, free: 90.35 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8222, allocations: 4 kB / 0.714 GB, free: 90.35 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/0.8245, allocations: 1.123 MB / 0.715 GB, free: 89.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/0.8252, allocations: 58.69 kB / 0.7151 GB, free: 89.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.8277, allocations: 1.49 MB / 0.7166 GB, free: 87.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.828, allocations: 0.997 MB / 0.7175 GB, free: 86.99 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005081/0.8286, allocations: 117.8 kB / 0.7176 GB, free: 86.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.8287, allocations: 38.95 kB / 0.7177 GB, free: 86.88 MB / 490.7 MB Notification: Performance of SimCode: time 8.22e-07/0.8287, allocations: 0 / 0.7177 GB, free: 86.88 MB / 490.7 MB Notification: Performance of Templates: time 0.02296/0.8517, allocations: 19.96 MB / 0.7372 GB, free: 68.82 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)