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.000915/0.000915, allocations: 174.8 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.27/1.27, 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.0008436/0.0008438, allocations: 85.48 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4434/0.4434, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.655e-05/3.668e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3347, allocations: 69.5 MB / 0.5492 GB, free: 19.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4553, allocations: 101.8 MB / 0.6486 GB, free: 13.73 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4555, allocations: 79.95 kB / 0.6487 GB, free: 13.65 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3571/0.8127, allocations: 29.98 MB / 0.6779 GB, free: 104.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.8127, allocations: 0.5 kB / 0.6779 GB, free: 104.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001882/0.8129, allocations: 22.22 kB / 0.678 GB, free: 104.8 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.004354/0.8173, allocations: 1.47 MB / 0.6794 GB, free: 104.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.8173, allocations: 13.16 kB / 0.6794 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/0.8175, allocations: 114 kB / 0.6795 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/0.8199, allocations: 414.9 kB / 0.6799 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.8213, allocations: 0.8694 MB / 0.6808 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.8216, allocations: 242 kB / 0.681 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.8217, allocations: 70.03 kB / 0.6811 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.8233, allocations: 0.8534 MB / 0.6819 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.8233, allocations: 3.938 kB / 0.6819 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-05/0.8234, allocations: 24.03 kB / 0.6819 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.8234, allocations: 15.69 kB / 0.6819 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.8248, allocations: 0.7785 MB / 0.6827 GB, free: 103.6 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.006048/0.8309, allocations: 3.617 MB / 0.6862 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/0.8436, allocations: 4 MB / 0.6901 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006758/0.8443, allocations: 488.2 kB / 0.6906 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.843e-05/0.8444, allocations: 12.14 kB / 0.6906 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.8445, allocations: 44.28 kB / 0.6907 GB, free: 102.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.8445, allocations: 0 / 0.6907 GB, free: 102.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005243/0.8497, allocations: 2.139 MB / 0.6927 GB, free: 102.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.8498, allocations: 110.3 kB / 0.6928 GB, free: 102.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.8509, allocations: 0.935 MB / 0.6938 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.851, allocations: 48.27 kB / 0.6938 GB, free: 101.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.8512, allocations: 474.5 kB / 0.6943 GB, free: 101.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.8514, allocations: 275.5 kB / 0.6945 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.8515, allocations: 16.69 kB / 0.6945 GB, free: 101.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.8515, allocations: 333.3 kB / 0.6949 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/0.8521, allocations: 436.7 kB / 0.6953 GB, free: 100.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.8527, allocations: 0.5255 MB / 0.6958 GB, free: 100.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.8534, allocations: 468 kB / 0.6962 GB, free: 100.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.8534, allocations: 0 / 0.6962 GB, free: 100.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005817/0.8592, allocations: 2.39 MB / 0.6986 GB, free: 99.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.8594, allocations: 0.6236 MB / 0.6992 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.8594, allocations: 8.719 kB / 0.6992 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00351/0.8629, allocations: 1.011 MB / 0.7002 GB, free: 98.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007631/0.8637, allocations: 163.7 kB / 0.7003 GB, free: 98.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006967/0.8706, allocations: 4.45 MB / 0.7047 GB, free: 95.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.872, allocations: 183.9 kB / 0.7048 GB, free: 95.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.8721, allocations: 21.94 kB / 0.7049 GB, free: 95.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/0.8721, allocations: 3.75 kB / 0.7049 GB, free: 95.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005559/0.8777, allocations: 2.262 MB / 0.7071 GB, free: 95.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.8777, allocations: 0 / 0.7071 GB, free: 95.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003422/0.8811, allocations: 1.011 MB / 0.7081 GB, free: 94.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.8818, allocations: 148.9 kB / 0.7082 GB, free: 94.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/0.8887, allocations: 4.443 MB / 0.7126 GB, free: 90.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.8901, allocations: 162.9 kB / 0.7127 GB, free: 90.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.8902, allocations: 31.59 kB / 0.7127 GB, free: 90.41 MB / 490.7 MB 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.0002431/0.8905, allocations: 150.5 kB / 0.7129 GB, free: 90.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.8907, allocations: 114.5 kB / 0.713 GB, free: 90.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005168/0.8959, allocations: 2.251 MB / 0.7152 GB, free: 88.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.8959, allocations: 8 kB / 0.7152 GB, free: 88.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8959, allocations: 7.828 kB / 0.7152 GB, free: 88.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.8959, allocations: 3.703 kB / 0.7152 GB, free: 88.3 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 postOpt removeSimpleEquations (simulation): time 0.006613/0.9025, allocations: 3.828 MB / 0.7189 GB, free: 85.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.9025, allocations: 4.031 kB / 0.7189 GB, free: 85.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.9032, allocations: 111 kB / 0.7191 GB, free: 85.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/0.9056, allocations: 0.8437 MB / 0.7199 GB, free: 84.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.657e-05/0.9057, allocations: 19.56 kB / 0.7199 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004677/0.9104, allocations: 3.367 MB / 0.7232 GB, free: 81.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.9104, allocations: 0 / 0.7232 GB, free: 81.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/0.9161, allocations: 2.893 MB / 0.726 GB, free: 78.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.9164, allocations: 232.2 kB / 0.7262 GB, free: 78.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.9166, allocations: 23.25 kB / 0.7263 GB, free: 78.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.9177, allocations: 127.2 kB / 0.7264 GB, free: 78.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/0.918, allocations: 130.5 kB / 0.7265 GB, free: 78.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/0.918, allocations: 30.45 kB / 0.7265 GB, free: 78.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000803/0.9189, allocations: 0.7282 MB / 0.7272 GB, free: 77.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9189, allocations: 0 / 0.7272 GB, free: 77.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001283/0.9201, allocations: 0.5459 MB / 0.7278 GB, free: 76.97 MB / 490.7 MB 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.005928/0.9261, allocations: 3.562 MB / 0.7313 GB, free: 73.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005891/0.932, allocations: 3.104 MB / 0.7343 GB, free: 70.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.932, allocations: 384 / 0.7343 GB, free: 70.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.9342, allocations: 1.213 MB / 0.7355 GB, free: 69.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.9349, allocations: 108.9 kB / 0.7356 GB, free: 69.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.9385, allocations: 2.127 MB / 0.7376 GB, free: 67.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.9389, allocations: 1.108 MB / 0.7387 GB, free: 66.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007904/0.9397, allocations: 211.8 kB / 0.7389 GB, free: 66.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/0.9402, allocations: 403.3 kB / 0.7393 GB, free: 65.96 MB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/0.9402, allocations: 0 / 0.7393 GB, free: 65.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.9834, allocations: 33.05 MB / 0.7716 GB, free: 33.38 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.9836, allocations: 172.2 kB / 0.7718 GB, free: 33.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.642, allocations: 0 / 0.7718 GB, free: 33.16 MB / 490.7 MB (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)