Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.00187/0.00187, allocations: 174.5 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.287/1.287, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0008813/0.000881, allocations: 97.64 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4848/0.4848, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.286e-05, allocations: 3.984 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4632, allocations: 69.5 MB / 0.5491 GB, free: 19.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.6309, allocations: 99.58 MB / 0.6464 GB, free: 28 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.6312, allocations: 79.95 kB / 0.6464 GB, free: 15.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06319/0.6944, allocations: 22.4 MB / 0.6683 GB, free: 9.352 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6945, allocations: 8 kB / 0.6683 GB, free: 9.344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.646e-05/0.6945, allocations: 12 kB / 0.6683 GB, free: 9.332 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.003728/0.6983, allocations: 1.26 MB / 0.6696 GB, free: 8.027 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.6983, allocations: 15.97 kB / 0.6696 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/0.7009, allocations: 387.7 kB / 0.6699 GB, free: 7.633 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.7023, allocations: 0.6017 MB / 0.6705 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.7025, allocations: 150.4 kB / 0.6707 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.7027, allocations: 60.25 kB / 0.6707 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.7041, allocations: 0.6862 MB / 0.6714 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.7041, allocations: 0 / 0.6714 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.7042, allocations: 23.94 kB / 0.6714 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.7042, allocations: 12 kB / 0.6714 GB, free: 6.031 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.7053, allocations: 0.5793 MB / 0.672 GB, free: 5.449 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.005471/0.7108, allocations: 2.87 MB / 0.6748 GB, free: 2.449 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3899/1.101, allocations: 3.689 MB / 0.6784 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/1.102, allocations: 395.6 kB / 0.6788 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/1.102, allocations: 11.42 kB / 0.6788 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/1.102, allocations: 39.25 kB / 0.6788 GB, free: 107.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 4.499e-06/1.102, allocations: 0 / 0.6788 GB, free: 107.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.009081/1.111, allocations: 1.935 MB / 0.6807 GB, free: 107.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/1.112, allocations: 89.7 kB / 0.6808 GB, free: 107.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/1.113, allocations: 0.6658 MB / 0.6815 GB, free: 107.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/1.114, allocations: 38.2 kB / 0.6815 GB, free: 107.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/1.114, allocations: 382.4 kB / 0.6819 GB, free: 107.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/1.114, allocations: 230.2 kB / 0.6821 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/1.114, allocations: 12.31 kB / 0.6821 GB, free: 107.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/1.115, allocations: 336.8 kB / 0.6824 GB, free: 106.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009419/1.115, allocations: 341.4 kB / 0.6827 GB, free: 106.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/1.116, allocations: 434.4 kB / 0.6832 GB, free: 106.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/1.118, allocations: 380.7 kB / 0.6835 GB, free: 106.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.118, allocations: 1 kB / 0.6835 GB, free: 106.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.009684/1.127, allocations: 2.184 MB / 0.6857 GB, free: 106.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001864/1.127, allocations: 0.7017 MB / 0.6863 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.127, allocations: 3.875 kB / 0.6863 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005437/1.133, allocations: 1.018 MB / 0.6873 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000873/1.134, allocations: 102.8 kB / 0.6874 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/1.145, allocations: 4.453 MB / 0.6918 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/1.146, allocations: 129.5 kB / 0.6919 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/1.147, allocations: 24.25 kB / 0.6919 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.147, allocations: 3.75 kB / 0.6919 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008232/1.155, allocations: 2.073 MB / 0.694 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.155, allocations: 3.719 kB / 0.694 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005424/1.16, allocations: 1.011 MB / 0.695 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/1.161, allocations: 102.5 kB / 0.695 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/1.172, allocations: 4.445 MB / 0.6994 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.174, allocations: 120.8 kB / 0.6995 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.174, allocations: 19.78 kB / 0.6995 GB, free: 100.5 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.0003671/1.175, allocations: 145.7 kB / 0.6997 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/1.175, allocations: 82.22 kB / 0.6997 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008475/1.183, allocations: 2.029 MB / 0.7017 GB, free: 99.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/1.183, allocations: 11.75 kB / 0.7017 GB, free: 99.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.184, allocations: 7.438 kB / 0.7017 GB, free: 99.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/1.184, allocations: 3.422 kB / 0.7017 GB, free: 99.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/1.195, allocations: 3.299 MB / 0.705 GB, free: 98.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.195, allocations: 0 / 0.705 GB, free: 98.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/1.196, allocations: 85.41 kB / 0.705 GB, free: 98.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004279/1.2, allocations: 0.8613 MB / 0.7059 GB, free: 97.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/1.2, allocations: 16 kB / 0.7059 GB, free: 97.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008286/1.209, allocations: 3.356 MB / 0.7092 GB, free: 94.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.209, allocations: 4 kB / 0.7092 GB, free: 94.63 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009668/1.218, allocations: 2.579 MB / 0.7117 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005162/1.219, allocations: 185.5 kB / 0.7119 GB, free: 92.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/1.219, allocations: 16 kB / 0.7119 GB, free: 92.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.22, allocations: 86.05 kB / 0.712 GB, free: 92.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004935/1.221, allocations: 131.3 kB / 0.7121 GB, free: 92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/1.221, allocations: 16 kB / 0.7121 GB, free: 91.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009889/1.222, allocations: 0.5143 MB / 0.7126 GB, free: 91.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.222, allocations: 0 / 0.7126 GB, free: 91.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002007/1.224, allocations: 494.3 kB / 0.7131 GB, free: 91.04 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.0003449/1.224, allocations: 145.8 kB / 0.7132 GB, free: 90.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009848/1.234, allocations: 2.799 MB / 0.716 GB, free: 88.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.234, allocations: 0 / 0.716 GB, free: 88.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004009/1.238, allocations: 1.13 MB / 0.7171 GB, free: 87.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/1.24, allocations: 66.22 kB / 0.7171 GB, free: 87.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/1.244, allocations: 1.478 MB / 0.7186 GB, free: 85.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/1.244, allocations: 0.9919 MB / 0.7195 GB, free: 84.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008947/1.245, allocations: 118.9 kB / 0.7197 GB, free: 84.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/1.245, allocations: 35.44 kB / 0.7197 GB, free: 84.77 MB / 490.7 MB Notification: Performance of SimCode: time 8.82e-07/1.245, allocations: 0 / 0.7197 GB, free: 84.77 MB / 490.7 MB Notification: Performance of Templates: time 0.0413/1.287, allocations: 19.96 MB / 0.7392 GB, free: 66.48 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)