Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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_1.Example_1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_release_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.001309/0.001309, 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.336/1.336, 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.0008766/0.0008763, allocations: 84.89 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.4936/0.4936, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.328e-05, allocations: 4 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3715, allocations: 69.34 MB / 0.5481 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.5129, allocations: 98.9 MB / 0.6447 GB, free: 1.613 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.5132, allocations: 75.95 kB / 0.6448 GB, free: 1.539 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06329/0.5766, allocations: 22.22 MB / 0.6665 GB, free: 11.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5766, allocations: 0 / 0.6665 GB, free: 11.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.802e-05/0.5767, allocations: 16 kB / 0.6665 GB, free: 11.11 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.003712/0.5804, allocations: 1.26 MB / 0.6677 GB, free: 9.801 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5805, allocations: 11.97 kB / 0.6677 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002592/0.5807, allocations: 103.8 kB / 0.6678 GB, free: 9.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/0.5832, allocations: 386.4 kB / 0.6682 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.5844, allocations: 0.594 MB / 0.6688 GB, free: 8.664 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.5846, allocations: 154.7 kB / 0.6689 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.5848, allocations: 63.86 kB / 0.669 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.5861, allocations: 0.6784 MB / 0.6696 GB, free: 7.742 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.5862, allocations: 3.938 kB / 0.6696 GB, free: 7.738 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/0.5863, allocations: 24 kB / 0.6697 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5863, allocations: 12 kB / 0.6697 GB, free: 7.703 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.5874, allocations: 0.5871 MB / 0.6702 GB, free: 7.113 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.005508/0.5929, allocations: 2.866 MB / 0.673 GB, free: 4.121 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01359/0.6065, allocations: 3.696 MB / 0.6766 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.4052/1.012, allocations: 397.2 kB / 0.677 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/1.012, allocations: 8.594 kB / 0.677 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/1.012, allocations: 38.58 kB / 0.6771 GB, free: 108.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.165e-06/1.012, allocations: 2.594 kB / 0.6771 GB, free: 108.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.007224/1.019, allocations: 1.937 MB / 0.679 GB, free: 108.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/1.019, allocations: 84.31 kB / 0.679 GB, free: 108.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/1.021, allocations: 0.6649 MB / 0.6797 GB, free: 108.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001863/1.021, allocations: 37.23 kB / 0.6797 GB, free: 108.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/1.022, allocations: 384.6 kB / 0.6801 GB, free: 108.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/1.022, allocations: 236 kB / 0.6803 GB, free: 108.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/1.022, allocations: 14.53 kB / 0.6803 GB, free: 108.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/1.022, allocations: 335.6 kB / 0.6807 GB, free: 108 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007905/1.023, allocations: 339.4 kB / 0.681 GB, free: 108 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000808/1.024, allocations: 437.6 kB / 0.6814 GB, free: 107.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008/1.025, allocations: 372.5 kB / 0.6818 GB, free: 107.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.025, allocations: 3.531 kB / 0.6818 GB, free: 107.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007664/1.033, allocations: 2.181 MB / 0.6839 GB, free: 107.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002132/1.033, allocations: 0.6994 MB / 0.6846 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.033, allocations: 1.875 kB / 0.6846 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004528/1.037, allocations: 1.021 MB / 0.6856 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/1.038, allocations: 108.9 kB / 0.6857 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008091/1.046, allocations: 4.46 MB / 0.69 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.047, allocations: 118.8 kB / 0.6901 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/1.047, allocations: 27.34 kB / 0.6902 GB, free: 105.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/1.048, allocations: 7.656 kB / 0.6902 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005692/1.053, allocations: 2.07 MB / 0.6922 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/1.053, allocations: 3.562 kB / 0.6922 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/1.057, allocations: 1.012 MB / 0.6932 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/1.058, allocations: 102.8 kB / 0.6933 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007708/1.065, allocations: 4.447 MB / 0.6976 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.067, allocations: 103.4 kB / 0.6977 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.02e-05/1.067, allocations: 27.19 kB / 0.6978 GB, free: 101.9 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.0003315/1.067, allocations: 147.9 kB / 0.6979 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/1.067, allocations: 88.78 kB / 0.698 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005862/1.073, allocations: 2.025 MB / 0.7 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/1.073, allocations: 11.56 kB / 0.7 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/1.073, allocations: 3.469 kB / 0.7 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/1.073, allocations: 3.656 kB / 0.7 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00767/1.081, allocations: 3.309 MB / 0.7032 GB, free: 99.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.081, allocations: 3.828 kB / 0.7032 GB, free: 99.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/1.082, allocations: 86.69 kB / 0.7033 GB, free: 99.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002632/1.084, allocations: 0.8506 MB / 0.7041 GB, free: 99.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/1.084, allocations: 11.56 kB / 0.7041 GB, free: 99.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/1.09, allocations: 3.359 MB / 0.7074 GB, free: 96.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.09, allocations: 0 / 0.7074 GB, free: 96.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005771/1.095, allocations: 2.579 MB / 0.7099 GB, free: 94.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/1.096, allocations: 189.1 kB / 0.7101 GB, free: 94.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.096, allocations: 12 kB / 0.7101 GB, free: 94.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/1.097, allocations: 88.45 kB / 0.7102 GB, free: 94.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/1.097, allocations: 122.5 kB / 0.7103 GB, free: 94.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/1.097, allocations: 16 kB / 0.7103 GB, free: 94.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006411/1.098, allocations: 0.5211 MB / 0.7108 GB, free: 93.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.343e-06/1.098, allocations: 0 / 0.7108 GB, free: 93.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001444/1.099, allocations: 490.5 kB / 0.7113 GB, free: 93.29 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.006075/1.105, allocations: 3.304 MB / 0.7145 GB, free: 90.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006519/1.112, allocations: 2.807 MB / 0.7173 GB, free: 87.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.112, allocations: 0 / 0.7173 GB, free: 87.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002413/1.114, allocations: 1.126 MB / 0.7184 GB, free: 86.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/1.115, allocations: 55.31 kB / 0.7184 GB, free: 86.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/1.118, allocations: 1.64 MB / 0.72 GB, free: 85.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/1.119, allocations: 0.9948 MB / 0.721 GB, free: 84.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005261/1.119, allocations: 110.5 kB / 0.7211 GB, free: 84.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/1.12, allocations: 297 kB / 0.7214 GB, free: 83.78 MB / 490.7 MB Notification: Performance of SimCode: time 1.202e-06/1.12, allocations: 0 / 0.7214 GB, free: 83.78 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/1.164, allocations: 27.37 MB / 0.7481 GB, free: 58.06 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/1.164, allocations: 179.6 kB / 0.7483 GB, free: 57.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.918, allocations: 0 / 0.7483 GB, free: 57.84 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)