Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_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_release_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.001388/0.001388, allocations: 174.9 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.559/1.559, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008039/0.000804, allocations: 93.08 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4865/0.4865, allocations: 78.08 MB / 414.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.634e-05, allocations: 0 / 491.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3395, allocations: 69.33 MB / 0.548 GB, free: 20.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4631, allocations: 98.91 MB / 0.6446 GB, free: 1.625 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4634, allocations: 79.95 kB / 0.6447 GB, free: 1.547 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05933/0.5228, allocations: 22.21 MB / 0.6663 GB, free: 11.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5228, allocations: 0 / 0.6663 GB, free: 11.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.069e-05/0.5228, allocations: 16 kB / 0.6664 GB, free: 11.12 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.003048/0.5259, allocations: 1.259 MB / 0.6676 GB, free: 9.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.526, allocations: 21.28 kB / 0.6676 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.5282, allocations: 390.3 kB / 0.668 GB, free: 9.418 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.5292, allocations: 0.5979 MB / 0.6686 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.5294, allocations: 150.4 kB / 0.6687 GB, free: 8.613 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.5295, allocations: 64.19 kB / 0.6688 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.5307, allocations: 0.6862 MB / 0.6694 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.5307, allocations: 3.938 kB / 0.6694 GB, free: 7.848 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/0.5308, allocations: 24 kB / 0.6695 GB, free: 7.824 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.5308, allocations: 12 kB / 0.6695 GB, free: 7.812 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009717/0.5318, allocations: 0.5754 MB / 0.67 GB, free: 7.234 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.004868/0.5367, allocations: 2.874 MB / 0.6728 GB, free: 4.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/0.5506, allocations: 3.692 MB / 0.6765 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.5514, allocations: 395.7 kB / 0.6768 GB, free: 108 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.71e-05/0.5515, allocations: 16.55 kB / 0.6768 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.5516, allocations: 43.12 kB / 0.6769 GB, free: 36 kB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.125e-06/0.5516, allocations: 0 / 0.6769 GB, free: 36 kB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.3148/0.8664, allocations: 1.928 MB / 0.6788 GB, free: 109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.8665, allocations: 83.61 kB / 0.6788 GB, free: 108.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.8676, allocations: 0.6664 MB / 0.6795 GB, free: 108.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.8677, allocations: 36.86 kB / 0.6795 GB, free: 108.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.868, allocations: 386.8 kB / 0.6799 GB, free: 108.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.8682, allocations: 232.5 kB / 0.6801 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.8683, allocations: 13.72 kB / 0.6801 GB, free: 108.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.8684, allocations: 333.9 kB / 0.6805 GB, free: 108.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.869, allocations: 337.8 kB / 0.6808 GB, free: 108.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000646/0.8696, allocations: 434.6 kB / 0.6812 GB, free: 108.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.8703, allocations: 374.7 kB / 0.6816 GB, free: 108.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.8703, allocations: 0 / 0.6816 GB, free: 108.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006956/0.8773, allocations: 2.181 MB / 0.6837 GB, free: 108 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.8775, allocations: 0.7051 MB / 0.6844 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.8775, allocations: 1.531 kB / 0.6844 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004499/0.882, allocations: 1.022 MB / 0.6854 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.8827, allocations: 107.3 kB / 0.6855 GB, free: 107.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008067/0.8908, allocations: 4.459 MB / 0.6898 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.8921, allocations: 121.6 kB / 0.6899 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.8922, allocations: 23.19 kB / 0.69 GB, free: 105.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.8923, allocations: 3.781 kB / 0.69 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005826/0.8981, allocations: 2.074 MB / 0.692 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.8981, allocations: 0 / 0.692 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00365/0.9018, allocations: 1.021 MB / 0.693 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.9023, allocations: 100.6 kB / 0.6931 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007626/0.9099, allocations: 4.44 MB / 0.6974 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.9111, allocations: 112.9 kB / 0.6975 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.9113, allocations: 29.38 kB / 0.6976 GB, free: 102.1 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.0002578/0.9115, allocations: 150.7 kB / 0.6977 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.9118, allocations: 82.56 kB / 0.6978 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005258/0.917, allocations: 2.033 MB / 0.6998 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.9171, allocations: 3.781 kB / 0.6998 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.9171, allocations: 3.5 kB / 0.6998 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.9171, allocations: 6.859 kB / 0.6998 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/0.9237, allocations: 3.305 MB / 0.703 GB, free: 99.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.9238, allocations: 0 / 0.703 GB, free: 99.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.9243, allocations: 81.09 kB / 0.7031 GB, free: 99.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/0.9269, allocations: 0.8578 MB / 0.7039 GB, free: 99.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.04e-05/0.927, allocations: 14.89 kB / 0.7039 GB, free: 99.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005189/0.9322, allocations: 3.351 MB / 0.7072 GB, free: 96.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.9322, allocations: 4 kB / 0.7072 GB, free: 96.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005898/0.9381, allocations: 2.589 MB / 0.7097 GB, free: 94.69 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.9385, allocations: 183 kB / 0.7099 GB, free: 94.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.9387, allocations: 12 kB / 0.7099 GB, free: 94.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009056/0.9396, allocations: 85.86 kB / 0.71 GB, free: 94.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003162/0.94, allocations: 115.4 kB / 0.7101 GB, free: 94.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/0.94, allocations: 22.77 kB / 0.7101 GB, free: 94.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006345/0.9407, allocations: 0.5262 MB / 0.7107 GB, free: 93.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9407, allocations: 0 / 0.7107 GB, free: 93.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001366/0.9421, allocations: 481.7 kB / 0.7111 GB, free: 93.4 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.0002413/0.9423, allocations: 154.3 kB / 0.7113 GB, free: 93.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005973/0.9483, allocations: 2.792 MB / 0.714 GB, free: 90.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.9483, allocations: 4 kB / 0.714 GB, free: 90.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.9507, allocations: 1.119 MB / 0.7151 GB, free: 89.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.9514, allocations: 59.73 kB / 0.7151 GB, free: 89.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.9543, allocations: 1.492 MB / 0.7166 GB, free: 88.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.9547, allocations: 0.9989 MB / 0.7176 GB, free: 87.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006091/0.9553, allocations: 110.7 kB / 0.7177 GB, free: 87.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.9555, allocations: 35.44 kB / 0.7177 GB, free: 87.12 MB / 490.7 MB Notification: Performance of SimCode: time 9.71e-07/0.9555, allocations: 0 / 0.7177 GB, free: 87.12 MB / 490.7 MB Notification: Performance of Templates: time 0.02773/0.9832, allocations: 19.97 MB / 0.7372 GB, free: 69 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)