Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2") translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 174.3 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 221.5 MB / 229.6 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009339, allocations: 97.3 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5164/0.5164, allocations: 78.95 MB / 410.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.511e-05, allocations: 4 kB / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1567, allocations: 69.51 MB / 0.5424 GB, free: 5.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.6243, allocations: 101.1 MB / 0.6412 GB, free: 13.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.6246, allocations: 75.95 kB / 0.6412 GB, free: 12.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.084/0.7086, allocations: 29.66 MB / 0.6702 GB, free: 15.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.7086, allocations: 0 / 0.6702 GB, free: 15.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.542e-05/0.7087, allocations: 20 kB / 0.6702 GB, free: 15.35 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003843/0.7126, allocations: 1.466 MB / 0.6716 GB, free: 13.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.7126, allocations: 9.156 kB / 0.6717 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.715, allocations: 418 kB / 0.6721 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.7168, allocations: 0.8566 MB / 0.6729 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003385/0.7171, allocations: 229 kB / 0.6731 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.7173, allocations: 51.84 kB / 0.6732 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001416/0.7187, allocations: 0.7524 MB / 0.6739 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.7201, allocations: 0.7547 MB / 0.6746 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.7201, allocations: 0 / 0.6746 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/0.7202, allocations: 4 kB / 0.6746 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.7202, allocations: 12 kB / 0.6746 GB, free: 10.66 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.006762/0.727, allocations: 3.499 MB / 0.6781 GB, free: 7.043 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01428/0.7413, allocations: 3.971 MB / 0.6819 GB, free: 3.027 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.7424, allocations: 468.8 kB / 0.6824 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.7425, allocations: 12.72 kB / 0.6824 GB, free: 2.555 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.7425, allocations: 39.34 kB / 0.6824 GB, free: 2.508 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/0.7425, allocations: 0 / 0.6824 GB, free: 2.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.00652/0.7491, allocations: 2.09 MB / 0.6845 GB, free: 412 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.7492, allocations: 119.5 kB / 0.6846 GB, free: 264 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/0.7506, allocations: 0.8553 MB / 0.6854 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.7508, allocations: 29.7 kB / 0.6855 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.7512, allocations: 480.6 kB / 0.6859 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/0.7515, allocations: 264.1 kB / 0.6862 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.7515, allocations: 0 / 0.6862 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7517, allocations: 345.9 kB / 0.6865 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006643/0.7523, allocations: 418.6 kB / 0.6869 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007395/0.7531, allocations: 0.5067 MB / 0.6874 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.7538, allocations: 461.2 kB / 0.6878 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7539, allocations: 1.125 kB / 0.6878 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006855/0.7607, allocations: 2.317 MB / 0.6901 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.7611, allocations: 0.6216 MB / 0.6907 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.7611, allocations: 4 kB / 0.6907 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004131/0.7652, allocations: 0.9961 MB / 0.6917 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.7663, allocations: 155.8 kB / 0.6918 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008674/0.775, allocations: 4.306 MB / 0.696 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.7769, allocations: 163.1 kB / 0.6962 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.7771, allocations: 38.11 kB / 0.6962 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7771, allocations: 4 kB / 0.6962 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006693/0.7838, allocations: 2.163 MB / 0.6983 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.7838, allocations: 4 kB / 0.6983 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004087/0.7879, allocations: 1.001 MB / 0.6993 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.789, allocations: 143.8 kB / 0.6995 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008617/0.7977, allocations: 4.305 MB / 0.7037 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.7994, allocations: 143.2 kB / 0.7038 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.36e-05/0.7995, allocations: 24 kB / 0.7038 GB, free: 12.19 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: 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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * 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.0003357/0.7998, allocations: 128.1 kB / 0.7039 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.8001, allocations: 110.6 kB / 0.704 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006177/0.8063, allocations: 2.173 MB / 0.7062 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.8063, allocations: 8 kB / 0.7062 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8064, allocations: 4 kB / 0.7062 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.8064, allocations: 3.984 kB / 0.7062 GB, free: 9.738 MB / 0.5105 GB 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.00846/0.8148, allocations: 3.673 MB / 0.7098 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.8149, allocations: 3.984 kB / 0.7098 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007963/0.8157, allocations: 115.8 kB / 0.7099 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/0.8185, allocations: 0.8427 MB / 0.7107 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.8187, allocations: 8 kB / 0.7107 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005727/0.8244, allocations: 3.274 MB / 0.7139 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.8244, allocations: 0 / 0.7139 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006914/0.8314, allocations: 2.835 MB / 0.7167 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/0.832, allocations: 223.5 kB / 0.7169 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.8321, allocations: 8 kB / 0.7169 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.8333, allocations: 123.8 kB / 0.717 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.8337, allocations: 128.5 kB / 0.7171 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/0.8338, allocations: 20 kB / 0.7172 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009206/0.8347, allocations: 0.6548 MB / 0.7178 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8347, allocations: 0.8438 kB / 0.7178 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001502/0.8362, allocations: 0.5069 MB / 0.7183 GB, free: 13.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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.0003454/0.8366, allocations: 139.6 kB / 0.7184 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006765/0.8433, allocations: 3.023 MB / 0.7214 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8434, allocations: 0 / 0.7214 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.846, allocations: 1.18 MB / 0.7225 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/0.8469, allocations: 87.08 kB / 0.7226 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.8509, allocations: 1.87 MB / 0.7244 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/0.8517, allocations: 1.107 MB / 0.7255 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009796/0.8527, allocations: 208.4 kB / 0.7257 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.8529, allocations: 51.44 kB / 0.7258 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.8529, allocations: 0 / 0.7258 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of Templates: time 0.03361/0.8865, allocations: 21.18 MB / 0.7465 GB, free: 224 kB / 0.5417 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)