Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_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.0009485/0.0009486, 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.429/1.429, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009814/0.0009816, allocations: 95.38 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5056/0.5056, allocations: 78.07 MB / 409.3 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.759e-05, allocations: 7.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1559, allocations: 69.36 MB / 0.5414 GB, free: 6.777 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4812/0.6371, allocations: 102.4 MB / 0.6414 GB, free: 13.05 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.6375, allocations: 79.3 kB / 0.6414 GB, free: 12.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2226/0.8601, allocations: 83.27 MB / 0.7228 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8602, allocations: 4 kB / 0.7228 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000259/0.8604, allocations: 55.94 kB / 0.7228 GB, free: 9.367 MB / 0.5261 GB 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.01219/0.8727, allocations: 3.377 MB / 0.7261 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.8727, allocations: 8.031 kB / 0.7261 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007807/0.8805, allocations: 1.174 MB / 0.7273 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004724/0.8853, allocations: 1.745 MB / 0.729 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004912/0.8858, allocations: 408.6 kB / 0.7294 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003909/0.8862, allocations: 111.9 kB / 0.7295 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003699/0.8899, allocations: 1.89 MB / 0.7313 GB, free: 452 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.8935, allocations: 1.925 MB / 0.7332 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.8936, allocations: 0 / 0.7332 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.8938, allocations: 0 / 0.7332 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.8938, allocations: 51.95 kB / 0.7332 GB, free: 14.44 MB / 0.5417 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 preOpt removeSimpleEquations (simulation): time 0.0173/0.9111, allocations: 8.772 MB / 0.7418 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009745/0.9209, allocations: 4.505 MB / 0.7462 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.9235, allocations: 1.28 MB / 0.7475 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.9238, allocations: 37.88 kB / 0.7475 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002631/0.9264, allocations: 1.504 MB / 0.749 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=242): time 3.687e-06/0.9264, allocations: 0 / 0.749 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of matching and sorting (n=242): time 0.02256/0.949, allocations: 7.223 MB / 0.756 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.9492, allocations: 231.6 kB / 0.7562 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/0.953, allocations: 1.878 MB / 0.7581 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007356/0.9538, allocations: 25.7 kB / 0.7581 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.9548, allocations: 1.15 MB / 0.7592 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001389/0.9562, allocations: 0.8043 MB / 0.76 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.9564, allocations: 0 / 0.76 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.9566, allocations: 399 kB / 0.7604 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.9585, allocations: 1.032 MB / 0.7614 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4001/1.359, allocations: 1.287 MB / 0.7627 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/1.361, allocations: 1.159 MB / 0.7638 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/1.361, allocations: 0 / 0.7638 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01986/1.381, allocations: 6.479 MB / 0.7701 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.381, allocations: 167.4 kB / 0.7703 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.381, allocations: 5.469 kB / 0.7703 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/1.391, allocations: 2.704 MB / 0.7729 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/1.394, allocations: 485.7 kB / 0.7734 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03096/1.425, allocations: 16.11 MB / 0.7891 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004674/1.43, allocations: 363.4 kB / 0.7895 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006701/1.431, allocations: 88.09 kB / 0.7895 GB, free: 111.3 MB / 0.5573 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.0007471/1.432, allocations: 256.1 kB / 0.7898 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0231/1.455, allocations: 7.223 MB / 0.7968 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/1.457, allocations: 301.3 kB / 0.7971 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02356/1.48, allocations: 7.385 MB / 0.8043 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.495e-05/1.48, allocations: 27.09 kB / 0.8044 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.48, allocations: 0.7031 kB / 0.8044 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.181e-05/1.481, allocations: 13.03 kB / 0.8044 GB, free: 110.1 MB / 0.5573 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.03187/1.512, allocations: 11.16 MB / 0.8153 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.033e-05/1.512, allocations: 0 / 0.8153 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/1.514, allocations: 248.7 kB / 0.8155 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01059/1.525, allocations: 3.233 MB / 0.8187 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006861/1.526, allocations: 19.06 kB / 0.8187 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03277/1.558, allocations: 16.99 MB / 0.8353 GB, free: 99.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.558, allocations: 3.188 kB / 0.8353 GB, free: 99.22 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02478/1.583, allocations: 9.077 MB / 0.8441 GB, free: 96.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.585, allocations: 451 kB / 0.8446 GB, free: 96.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001542/1.587, allocations: 7.969 kB / 0.8446 GB, free: 96.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003809/1.59, allocations: 239.5 kB / 0.8448 GB, free: 96.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00186/1.592, allocations: 384.9 kB / 0.8452 GB, free: 95.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005723/1.593, allocations: 68.56 kB / 0.8452 GB, free: 95.97 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003303/1.596, allocations: 1.395 MB / 0.8466 GB, free: 95.36 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3e-07/1.596, allocations: 0 / 0.8466 GB, free: 95.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005895/1.602, allocations: 0.8674 MB / 0.8475 GB, free: 95.32 MB / 0.5573 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.02633/1.628, allocations: 9.879 MB / 0.8571 GB, free: 91.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01253/1.641, allocations: 4.859 MB / 0.8618 GB, free: 89.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.641, allocations: 0 / 0.8618 GB, free: 89.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009357/1.65, allocations: 3.403 MB / 0.8652 GB, free: 87.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/1.654, allocations: 214.8 kB / 0.8654 GB, free: 87.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.67, allocations: 4.69 MB / 0.87 GB, free: 83.08 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/1.672, allocations: 1.846 MB / 0.8718 GB, free: 81.63 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001683/1.674, allocations: 222.7 kB / 0.872 GB, free: 81.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/1.676, allocations: 1.178 MB / 0.8731 GB, free: 80.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.292e-06/1.676, allocations: 4 kB / 0.8731 GB, free: 80.39 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/1.807, allocations: 68.54 MB / 0.9401 GB, free: 24.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/1.807, allocations: 123 kB / 0.9402 GB, free: 24.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.675/6.482, allocations: 0 / 0.9402 GB, free: 24.68 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_Tutorial_Example_3_Example_3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_Tutorial_Example_3_Example_3.fmu > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)