Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_release_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.006004/0.006004, allocations: 171.9 kB / 15.12 MB, free: 5.969 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.48/1.48, allocations: 223.2 MB / 239 MB, free: 100 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 95.64 kB / 290.2 MB, free: 4.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5181/0.5181, allocations: 78.58 MB / 419.9 MB, free: 36.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003638, allocations: 8 kB / 499.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1528, allocations: 69.36 MB / 0.5559 GB, free: 1.762 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.598, allocations: 101.1 MB / 0.6547 GB, free: 1.137 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.5983, allocations: 79.64 kB / 0.6547 GB, free: 1.094 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08197/0.6802, allocations: 29.83 MB / 0.6839 GB, free: 3.766 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6803, allocations: 0 / 0.6839 GB, free: 3.766 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001441/0.6804, allocations: 32.12 kB / 0.6839 GB, free: 3.734 MB / 474.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.005905/0.6863, allocations: 1.809 MB / 0.6857 GB, free: 1.875 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.6864, allocations: 12.03 kB / 0.6857 GB, free: 1.863 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003913/0.6868, allocations: 110.5 kB / 0.6858 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/0.6894, allocations: 419.7 kB / 0.6862 GB, free: 1.336 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.6921, allocations: 0.9464 MB / 0.6871 GB, free: 344 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.6924, allocations: 247.5 kB / 0.6873 GB, free: 56 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.6927, allocations: 68.05 kB / 0.6874 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.695, allocations: 1.007 MB / 0.6884 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.695, allocations: 3.984 kB / 0.6884 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.684e-05/0.6951, allocations: 27.98 kB / 0.6884 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.6952, allocations: 16 kB / 0.6884 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002169/0.6973, allocations: 0.9667 MB / 0.6894 GB, free: 13.95 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007301/0.7046, allocations: 3.621 MB / 0.6929 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/0.7193, allocations: 4.272 MB / 0.6971 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.7195, allocations: 12.66 kB / 0.6971 GB, free: 5.875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.7195, allocations: 47.2 kB / 0.6971 GB, free: 5.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.015e-06/0.7195, allocations: 0 / 0.6971 GB, free: 5.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.01401/0.7336, allocations: 4.305 MB / 0.7014 GB, free: 1.445 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.7337, allocations: 115.5 kB / 0.7015 GB, free: 1.305 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.7366, allocations: 1.023 MB / 0.7025 GB, free: 272 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.7368, allocations: 41.7 kB / 0.7025 GB, free: 224 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/0.7373, allocations: 474.9 kB / 0.703 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/0.7378, allocations: 267.9 kB / 0.7032 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.7379, allocations: 16 kB / 0.7032 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.7381, allocations: 341.9 kB / 0.7036 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.7394, allocations: 0.5642 MB / 0.7041 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.7407, allocations: 0.6781 MB / 0.7048 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.7421, allocations: 0.6131 MB / 0.7054 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7421, allocations: 0 / 0.7054 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008215/0.7503, allocations: 2.81 MB / 0.7081 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002488/0.7506, allocations: 0.6273 MB / 0.7087 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.7506, allocations: 0 / 0.7087 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004549/0.7551, allocations: 1.236 MB / 0.7099 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/0.756, allocations: 159.8 kB / 0.7101 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.7672, allocations: 5.596 MB / 0.7155 GB, free: 2.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.769, allocations: 171.2 kB / 0.7157 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/0.7691, allocations: 28 kB / 0.7157 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.7692, allocations: 4 kB / 0.7157 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00749/0.7767, allocations: 2.617 MB / 0.7183 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.7767, allocations: 4 kB / 0.7183 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/0.7812, allocations: 1.238 MB / 0.7195 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008534/0.7821, allocations: 146.4 kB / 0.7196 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.7932, allocations: 5.576 MB / 0.7251 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.795, allocations: 159.2 kB / 0.7252 GB, free: 8.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.7951, allocations: 24 kB / 0.7253 GB, free: 8.547 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: G1.avr.vref:VARIABLE(unit = "1" fixed = true 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 () * Number of clocked 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.0007126/0.7958, allocations: 352.9 kB / 0.7256 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.796, allocations: 110.6 kB / 0.7257 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00687/0.8029, allocations: 2.646 MB / 0.7283 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.8029, allocations: 8 kB / 0.7283 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.803, allocations: 9.984 kB / 0.7283 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.803, allocations: 7.984 kB / 0.7283 GB, free: 5.387 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009183/0.8122, allocations: 4.231 MB / 0.7324 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.8122, allocations: 4 kB / 0.7325 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007463/0.813, allocations: 111.8 kB / 0.7326 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/0.8163, allocations: 1.078 MB / 0.7336 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.8164, allocations: 19.98 kB / 0.7336 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007868/0.8243, allocations: 4.289 MB / 0.7378 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.8243, allocations: 0.9375 kB / 0.7378 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008397/0.8327, allocations: 3.445 MB / 0.7412 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.8333, allocations: 231.5 kB / 0.7414 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.8334, allocations: 20 kB / 0.7414 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.8347, allocations: 127.9 kB / 0.7415 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/0.8351, allocations: 132.4 kB / 0.7417 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.8351, allocations: 24 kB / 0.7417 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001538/0.8367, allocations: 0.8075 MB / 0.7425 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8367, allocations: 0 / 0.7425 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001578/0.8383, allocations: 0.5461 MB / 0.743 GB, free: 6.039 MB / 0.5261 GB 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 () * Number of clocked 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.008806/0.8471, allocations: 4.123 MB / 0.747 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008519/0.8556, allocations: 3.489 MB / 0.7504 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.8557, allocations: 0 / 0.7504 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003403/0.8591, allocations: 1.381 MB / 0.7518 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00097/0.8601, allocations: 110.3 kB / 0.7519 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/0.8666, allocations: 4.582 MB / 0.7564 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.8674, allocations: 1.108 MB / 0.7575 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006242/0.868, allocations: 125.9 kB / 0.7576 GB, free: 6.703 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/0.8686, allocations: 415.3 kB / 0.758 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of SimCode: time 1.052e-06/0.8686, allocations: 0 / 0.758 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05835/0.927, allocations: 30.99 MB / 0.7882 GB, free: 7.562 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.9272, allocations: 209.1 kB / 0.7884 GB, free: 7.324 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/3.787, allocations: 0 / 0.7884 GB, free: 7.324 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_2_Example_2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_2_Example_2.fmu > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)