Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.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_3.Example_3,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_3_Example_3",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.0009253/0.0009252, allocations: 174.7 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.274/1.274, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.000917/0.0009169, allocations: 100.1 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4356/0.4356, allocations: 78.91 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.459e-05, allocations: 8 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3272, allocations: 69.5 MB / 0.5492 GB, free: 19.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4475, allocations: 103.8 MB / 0.6506 GB, free: 11.74 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4477, allocations: 83.95 kB / 0.6507 GB, free: 11.66 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4813/0.929, allocations: 86.67 MB / 0.7353 GB, free: 72.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.929, allocations: 0 / 0.7353 GB, free: 72.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002635/0.9293, allocations: 59.94 kB / 0.7354 GB, free: 72.41 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: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.008555/0.9379, allocations: 3.369 MB / 0.7387 GB, free: 68.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.9379, allocations: 11.97 kB / 0.7387 GB, free: 68.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007115/0.9386, allocations: 270.9 kB / 0.7389 GB, free: 68.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006638/0.9453, allocations: 1.182 MB / 0.7401 GB, free: 67.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/0.9489, allocations: 1.745 MB / 0.7418 GB, free: 65.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/0.9493, allocations: 472.6 kB / 0.7423 GB, free: 65.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005675/0.9498, allocations: 191.9 kB / 0.7424 GB, free: 64.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/0.9539, allocations: 2.178 MB / 0.7446 GB, free: 62.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.9539, allocations: 3.938 kB / 0.7446 GB, free: 62.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.9542, allocations: 76 kB / 0.7446 GB, free: 62.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.9542, allocations: 47.94 kB / 0.7447 GB, free: 62.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003206/0.9574, allocations: 1.982 MB / 0.7466 GB, free: 60.65 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.01466/0.9721, allocations: 9.141 MB / 0.7555 GB, free: 51.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008363/0.9805, allocations: 4.613 MB / 0.7601 GB, free: 46.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.9822, allocations: 1.339 MB / 0.7614 GB, free: 44.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.9824, allocations: 45.97 kB / 0.7614 GB, free: 44.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/0.9845, allocations: 1.568 MB / 0.7629 GB, free: 43.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.679e-06/0.9845, allocations: 4 kB / 0.7629 GB, free: 43.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.01971/1.004, allocations: 7.455 MB / 0.7702 GB, free: 35.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/1.004, allocations: 235.6 kB / 0.7704 GB, free: 35.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/1.007, allocations: 2.045 MB / 0.7724 GB, free: 33.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003868/1.007, allocations: 69.69 kB / 0.7725 GB, free: 33.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/1.008, allocations: 1.146 MB / 0.7736 GB, free: 32.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006374/1.009, allocations: 0.8432 MB / 0.7745 GB, free: 31.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/1.009, allocations: 48 kB / 0.7745 GB, free: 31.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.53e-05/1.009, allocations: 399.1 kB / 0.7749 GB, free: 30.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/1.011, allocations: 1.083 MB / 0.7759 GB, free: 29.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/1.012, allocations: 1.346 MB / 0.7773 GB, free: 28.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/1.014, allocations: 1.369 MB / 0.7786 GB, free: 27.01 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.014, allocations: 3.953 kB / 0.7786 GB, free: 27 MB / 490.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01655/1.031, allocations: 6.845 MB / 0.7853 GB, free: 20.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.544e-05/1.031, allocations: 178.2 kB / 0.7854 GB, free: 19.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.031, allocations: 4 kB / 0.7854 GB, free: 19.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009124/1.04, allocations: 2.801 MB / 0.7882 GB, free: 17.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.042, allocations: 487.3 kB / 0.7886 GB, free: 16.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/1.065, allocations: 16.68 MB / 0.8049 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/1.069, allocations: 421.8 kB / 0.8053 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/1.069, allocations: 91.97 kB / 0.8054 GB, free: 14.66 MB / 0.4948 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005864/1.07, allocations: 325.8 kB / 0.8057 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/1.07, allocations: 304.3 kB / 0.806 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02165/1.092, allocations: 7.709 MB / 0.8136 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/1.092, allocations: 24 kB / 0.8136 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.092, allocations: 7.953 kB / 0.8136 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-05/1.092, allocations: 15.95 kB / 0.8136 GB, free: 6.207 MB / 0.4948 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.02731/1.12, allocations: 11.68 MB / 0.825 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.12, allocations: 0 / 0.825 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.121, allocations: 247.8 kB / 0.8253 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01056/1.132, allocations: 3.258 MB / 0.8284 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003782/1.132, allocations: 55.97 kB / 0.8285 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03102/1.163, allocations: 17.39 MB / 0.8455 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.163, allocations: 7.938 kB / 0.8455 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02515/1.188, allocations: 9.413 MB / 0.8547 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.19, allocations: 452.7 kB / 0.8551 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005855/1.19, allocations: 48 kB / 0.8551 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/1.193, allocations: 287.8 kB / 0.8554 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/1.194, allocations: 378.1 kB / 0.8558 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.194, allocations: 67.94 kB / 0.8558 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002376/1.197, allocations: 1.56 MB / 0.8574 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/1.197, allocations: 0 / 0.8574 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003265/1.2, allocations: 0.9715 MB / 0.8583 GB, free: 7.484 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02467/1.225, allocations: 10.25 MB / 0.8683 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0101/1.235, allocations: 5.055 MB / 0.8733 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.235, allocations: 4 kB / 0.8733 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008053/1.243, allocations: 3.505 MB / 0.8767 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.245, allocations: 259.1 kB / 0.8769 GB, free: 4.043 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009333/1.254, allocations: 4.888 MB / 0.8817 GB, free: 15.11 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/1.255, allocations: 1.854 MB / 0.8835 GB, free: 13.22 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008797/1.256, allocations: 224.2 kB / 0.8837 GB, free: 13 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.258, allocations: 1.183 MB / 0.8849 GB, free: 11.82 MB / 0.573 GB Notification: Performance of SimCode: time 4.51e-07/1.258, allocations: 0 / 0.8849 GB, free: 11.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3384/1.596, allocations: 73.03 MB / 0.9562 GB, free: 143.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001124/1.596, allocations: 188.2 kB / 0.9564 GB, free: 143.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.265/5.861, allocations: 0 / 0.9564 GB, free: 143.1 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_3_Example_3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_3_Example_3.fmu > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)