Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_1.Example_1,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1",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.0009759/0.0009759, allocations: 174.6 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.339/1.339, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009092/0.0009092, allocations: 85.88 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4603/0.4603, allocations: 78.02 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.231e-05, allocations: 8 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 69.34 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.4526, allocations: 98.91 MB / 0.6447 GB, free: 1.488 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.453, allocations: 75.95 kB / 0.6447 GB, free: 1.414 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.059/0.512, allocations: 22.21 MB / 0.6664 GB, free: 11.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.512, allocations: 0 / 0.6664 GB, free: 11.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.641e-05/0.5121, allocations: 15.98 kB / 0.6664 GB, free: 10.99 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.003112/0.5152, allocations: 1.262 MB / 0.6677 GB, free: 9.684 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5153, allocations: 11.97 kB / 0.6677 GB, free: 9.672 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.5154, allocations: 95.83 kB / 0.6678 GB, free: 9.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.5176, allocations: 390.4 kB / 0.6681 GB, free: 9.188 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.5187, allocations: 0.5979 MB / 0.6687 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.5189, allocations: 154.7 kB / 0.6689 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.519, allocations: 67.8 kB / 0.6689 GB, free: 8.312 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.5203, allocations: 0.6823 MB / 0.6696 GB, free: 7.617 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.5203, allocations: 3.938 kB / 0.6696 GB, free: 7.613 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/0.5204, allocations: 20 kB / 0.6696 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.5204, allocations: 12 kB / 0.6696 GB, free: 7.582 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.5214, allocations: 0.5793 MB / 0.6702 GB, free: 7 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.004971/0.5264, allocations: 2.874 MB / 0.673 GB, free: 3.996 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/0.5396, allocations: 3.7 MB / 0.6766 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3328/0.8724, allocations: 394 kB / 0.677 GB, free: 108.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.8726, allocations: 8.953 kB / 0.677 GB, free: 108.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.8726, allocations: 38.84 kB / 0.677 GB, free: 108.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.656e-06/0.8726, allocations: 0.5938 kB / 0.677 GB, free: 108.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.006665/0.8793, allocations: 1.935 MB / 0.6789 GB, free: 108.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.8794, allocations: 84.23 kB / 0.679 GB, free: 108.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.8807, allocations: 0.6665 MB / 0.6797 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.8808, allocations: 37.92 kB / 0.6797 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.8812, allocations: 389.1 kB / 0.6801 GB, free: 108.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.8814, allocations: 232.6 kB / 0.6803 GB, free: 108.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.8815, allocations: 14.81 kB / 0.6803 GB, free: 108.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.8816, allocations: 335.9 kB / 0.6806 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.8822, allocations: 336.5 kB / 0.6809 GB, free: 107.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.8829, allocations: 434.7 kB / 0.6814 GB, free: 107.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/0.8835, allocations: 375.7 kB / 0.6817 GB, free: 107.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8835, allocations: 0 / 0.6817 GB, free: 107.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007193/0.8907, allocations: 2.184 MB / 0.6839 GB, free: 107.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002856/0.8911, allocations: 0.6991 MB / 0.6845 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.8911, allocations: 2.156 kB / 0.6845 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004515/0.8956, allocations: 1.024 MB / 0.6855 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/0.8963, allocations: 108.4 kB / 0.6856 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007459/0.9038, allocations: 4.449 MB / 0.69 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.9049, allocations: 115.8 kB / 0.6901 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/0.905, allocations: 37.67 kB / 0.6901 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.905, allocations: 9.688 kB / 0.6901 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005805/0.9108, allocations: 2.068 MB / 0.6922 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9109, allocations: 3 kB / 0.6922 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00374/0.9146, allocations: 1.013 MB / 0.6932 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.9152, allocations: 107.2 kB / 0.6933 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007621/0.9228, allocations: 4.441 MB / 0.6976 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.924, allocations: 110.5 kB / 0.6977 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.9241, allocations: 19.75 kB / 0.6977 GB, free: 101.7 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.0002916/0.9244, allocations: 148.2 kB / 0.6979 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.9247, allocations: 86.75 kB / 0.6979 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/0.93, allocations: 2.032 MB / 0.6999 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.93, allocations: 9.906 kB / 0.6999 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.93, allocations: 7.188 kB / 0.6999 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.93, allocations: 3.656 kB / 0.6999 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006982/0.937, allocations: 3.302 MB / 0.7032 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.9371, allocations: 0 / 0.7032 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005482/0.9376, allocations: 88.83 kB / 0.7033 GB, free: 99.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002596/0.9403, allocations: 0.8535 MB / 0.7041 GB, free: 99.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/0.9404, allocations: 11.94 kB / 0.7041 GB, free: 99.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005183/0.9456, allocations: 3.355 MB / 0.7074 GB, free: 96.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9456, allocations: 4 kB / 0.7074 GB, free: 96.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006266/0.9519, allocations: 2.572 MB / 0.7099 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/0.9524, allocations: 187.3 kB / 0.7101 GB, free: 94.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.9527, allocations: 15.72 kB / 0.7101 GB, free: 94.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.9537, allocations: 89.11 kB / 0.7102 GB, free: 94.03 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/0.9541, allocations: 124.2 kB / 0.7103 GB, free: 93.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.479e-05/0.9542, allocations: 19.61 kB / 0.7103 GB, free: 93.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006933/0.9549, allocations: 0.5228 MB / 0.7108 GB, free: 93.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9549, allocations: 0 / 0.7108 GB, free: 93.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001526/0.9565, allocations: 482.3 kB / 0.7113 GB, free: 93 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.007184/0.9637, allocations: 3.311 MB / 0.7145 GB, free: 89.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006874/0.9706, allocations: 2.801 MB / 0.7172 GB, free: 87.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.9706, allocations: 4 kB / 0.7172 GB, free: 87.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.973, allocations: 1.124 MB / 0.7183 GB, free: 86.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/0.9737, allocations: 54.97 kB / 0.7184 GB, free: 86.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.9772, allocations: 1.637 MB / 0.72 GB, free: 84.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.9777, allocations: 0.9985 MB / 0.721 GB, free: 83.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005725/0.9783, allocations: 113.9 kB / 0.7211 GB, free: 83.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.9786, allocations: 296.3 kB / 0.7214 GB, free: 83.49 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.9786, allocations: 0 / 0.7214 GB, free: 83.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/1.023, allocations: 27.34 MB / 0.7481 GB, free: 57.87 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/1.023, allocations: 182.8 kB / 0.7482 GB, free: 57.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.578, allocations: 0 / 0.7482 GB, free: 57.64 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)