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: "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 180.9 kB / 7.65 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.328/1.328, 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.0009581/0.0009579, allocations: 87.89 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4845/0.4845, allocations: 78.94 MB / 410.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.305e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1509, allocations: 69.51 MB / 0.5425 GB, free: 5.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4188/0.5698, allocations: 101.1 MB / 0.6413 GB, free: 12.91 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.5701, allocations: 79.95 kB / 0.6413 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08503/0.6552, allocations: 29.66 MB / 0.6703 GB, free: 15.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6552, allocations: 0 / 0.6703 GB, free: 15.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001294/0.6553, allocations: 20 kB / 0.6703 GB, free: 15.23 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.004374/0.6597, allocations: 1.462 MB / 0.6717 GB, free: 13.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.6598, allocations: 12.59 kB / 0.6718 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.6625, allocations: 420.6 kB / 0.6722 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.6647, allocations: 0.8605 MB / 0.673 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/0.6651, allocations: 223.8 kB / 0.6732 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.6654, allocations: 47.86 kB / 0.6733 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001582/0.667, allocations: 0.7524 MB / 0.674 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.6687, allocations: 0.7555 MB / 0.6747 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.6688, allocations: 8 kB / 0.6747 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.826e-05/0.6689, allocations: 3.984 kB / 0.6747 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.6689, allocations: 12 kB / 0.6747 GB, free: 10.53 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.007681/0.6766, allocations: 3.491 MB / 0.6782 GB, free: 6.926 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/0.6907, allocations: 3.969 MB / 0.682 GB, free: 2.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.6918, allocations: 463.9 kB / 0.6825 GB, free: 2.457 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.692, allocations: 12.77 kB / 0.6825 GB, free: 2.441 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.692, allocations: 48.84 kB / 0.6825 GB, free: 2.387 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.316e-06/0.692, allocations: 0 / 0.6825 GB, free: 2.387 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.006494/0.6985, allocations: 2.086 MB / 0.6846 GB, free: 292 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.6986, allocations: 111.6 kB / 0.6847 GB, free: 152 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.7006, allocations: 0.8622 MB / 0.6855 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.7009, allocations: 25.7 kB / 0.6855 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/0.7014, allocations: 488.6 kB / 0.686 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.7019, allocations: 260.1 kB / 0.6863 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.702, allocations: 0 / 0.6863 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.7022, allocations: 341.9 kB / 0.6866 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/0.7029, allocations: 422.5 kB / 0.687 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.7038, allocations: 0.5107 MB / 0.6875 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/0.7045, allocations: 453.2 kB / 0.6879 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.7046, allocations: 0 / 0.6879 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00693/0.7115, allocations: 2.321 MB / 0.6902 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.7118, allocations: 0.615 MB / 0.6908 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/0.7118, allocations: 11.06 kB / 0.6908 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003976/0.7158, allocations: 1.004 MB / 0.6918 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.7169, allocations: 159.8 kB / 0.6919 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008287/0.7252, allocations: 4.301 MB / 0.6961 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.727, allocations: 163.2 kB / 0.6963 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/0.7272, allocations: 31.98 kB / 0.6963 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.7273, allocations: 4 kB / 0.6963 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006467/0.7337, allocations: 2.16 MB / 0.6984 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.7338, allocations: 7.984 kB / 0.6984 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003953/0.7378, allocations: 1.004 MB / 0.6994 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.7388, allocations: 147.8 kB / 0.6996 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008228/0.747, allocations: 4.3 MB / 0.7038 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.7487, allocations: 147.2 kB / 0.7039 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.7489, allocations: 28.73 kB / 0.7039 GB, free: 12.07 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.0003595/0.7492, allocations: 123.4 kB / 0.704 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005749/0.755, allocations: 2.094 MB / 0.7061 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.7554, allocations: 110.6 kB / 0.7062 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/0.7614, allocations: 2.169 MB / 0.7083 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.7614, allocations: 9.125 kB / 0.7083 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.7614, allocations: 8 kB / 0.7083 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.7615, allocations: 3.984 kB / 0.7083 GB, free: 7.512 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.008358/0.7698, allocations: 3.677 MB / 0.7119 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.7699, allocations: 0 / 0.7119 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/0.7707, allocations: 115.8 kB / 0.712 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002757/0.7735, allocations: 0.8432 MB / 0.7129 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001415/0.7736, allocations: 15.92 kB / 0.7129 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005705/0.7794, allocations: 3.276 MB / 0.7161 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.7794, allocations: 0 / 0.7161 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006995/0.7864, allocations: 2.82 MB / 0.7188 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005621/0.787, allocations: 231.5 kB / 0.719 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/0.7874, allocations: 4 kB / 0.719 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.7889, allocations: 123.9 kB / 0.7192 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000475/0.7894, allocations: 128.7 kB / 0.7193 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.7895, allocations: 23.94 kB / 0.7193 GB, free: 12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001366/0.7909, allocations: 0.6586 MB / 0.72 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7909, allocations: 0 / 0.72 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00211/0.793, allocations: 0.4991 MB / 0.7204 GB, free: 10.83 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.007426/0.8005, allocations: 3.488 MB / 0.7238 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00755/0.8081, allocations: 3.012 MB / 0.7268 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8081, allocations: 0 / 0.7268 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003044/0.8112, allocations: 1.188 MB / 0.7279 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.8125, allocations: 94.5 kB / 0.728 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/0.8184, allocations: 2.051 MB / 0.73 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008464/0.8193, allocations: 1.107 MB / 0.7311 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001284/0.8206, allocations: 211.1 kB / 0.7313 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006291/0.8213, allocations: 403.3 kB / 0.7317 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of SimCode: time 1.102e-06/0.8213, allocations: 0 / 0.7317 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07184/0.8931, allocations: 30.34 MB / 0.7613 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.8934, allocations: 135.9 kB / 0.7615 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.939/3.833, allocations: 4.031 kB / 0.7615 GB, free: 0.793 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_2_Example_2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_2_Example_2.fmu > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)