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.005656/0.005656, allocations: 170.3 kB / 15.11 MB, free: 5.977 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.513/1.513, allocations: 223.2 MB / 239 MB, free: 76 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.00115/0.00115, allocations: 91.28 kB / 290.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5011/0.5011, allocations: 78.59 MB / 419.9 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005532/0.0005534, allocations: 15.98 kB / 499.9 MB, free: 7.164 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1922, allocations: 69.36 MB / 0.5559 GB, free: 1.738 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4329/0.6251, allocations: 98.96 MB / 0.6525 GB, free: 3.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.6253, allocations: 78.59 kB / 0.6526 GB, free: 3.191 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05782/0.6832, allocations: 22.27 MB / 0.6744 GB, free: 13.44 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.6832, allocations: 0 / 0.6744 GB, free: 13.44 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.635e-05/0.6832, allocations: 17.31 kB / 0.6744 GB, free: 13.43 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.003554/0.6868, allocations: 1.474 MB / 0.6758 GB, free: 11.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.6869, allocations: 8.031 kB / 0.6758 GB, free: 11.89 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.687, allocations: 98.52 kB / 0.6759 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002228/0.6892, allocations: 386.5 kB / 0.6763 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009476/0.6902, allocations: 0.6096 MB / 0.6769 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.6904, allocations: 158.7 kB / 0.677 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.6905, allocations: 59.95 kB / 0.6771 GB, free: 10.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.6921, allocations: 0.8111 MB / 0.6779 GB, free: 9.703 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.6921, allocations: 0 / 0.6779 GB, free: 9.703 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/0.6922, allocations: 21.31 kB / 0.6779 GB, free: 9.684 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.6922, allocations: 16 kB / 0.6779 GB, free: 9.668 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.6937, allocations: 0.7274 MB / 0.6786 GB, free: 8.938 MB / 474.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.004825/0.6985, allocations: 2.876 MB / 0.6814 GB, free: 5.941 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01414/0.7126, allocations: 3.92 MB / 0.6853 GB, free: 1.973 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.7128, allocations: 12.56 kB / 0.6853 GB, free: 1.961 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.7129, allocations: 39.12 kB / 0.6853 GB, free: 1.914 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 4.338e-06/0.7129, allocations: 0 / 0.6853 GB, free: 1.914 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.01209/0.725, allocations: 3.889 MB / 0.6891 GB, free: 13.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.7251, allocations: 85.61 kB / 0.6892 GB, free: 13.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.7261, allocations: 0.6683 MB / 0.6898 GB, free: 13.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.7262, allocations: 33.7 kB / 0.6899 GB, free: 13.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.7265, allocations: 388.6 kB / 0.6902 GB, free: 12.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.7268, allocations: 232.6 kB / 0.6905 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.7268, allocations: 13.69 kB / 0.6905 GB, free: 12.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.7269, allocations: 337.9 kB / 0.6908 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009144/0.7278, allocations: 473.8 kB / 0.6912 GB, free: 11.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000944/0.7288, allocations: 0.5568 MB / 0.6918 GB, free: 11.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.7298, allocations: 0.4958 MB / 0.6923 GB, free: 10.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7298, allocations: 4 kB / 0.6923 GB, free: 10.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007493/0.7373, allocations: 2.544 MB / 0.6948 GB, free: 8.055 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.7376, allocations: 0.7055 MB / 0.6955 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.7376, allocations: 4 kB / 0.6955 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004823/0.7425, allocations: 1.252 MB / 0.6967 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.7431, allocations: 107.8 kB / 0.6968 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.7598, allocations: 5.579 MB / 0.7022 GB, free: 236 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.7619, allocations: 123.3 kB / 0.7023 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.7622, allocations: 20 kB / 0.7024 GB, free: 92 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.7622, allocations: 4 kB / 0.7024 GB, free: 88 kB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01343/0.7757, allocations: 2.418 MB / 0.7047 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.7757, allocations: 0 / 0.7047 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008168/0.7839, allocations: 1.246 MB / 0.706 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.785, allocations: 107.8 kB / 0.7061 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02113/0.8061, allocations: 5.57 MB / 0.7115 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.8081, allocations: 111.4 kB / 0.7116 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.8084, allocations: 27.95 kB / 0.7116 GB, free: 6.477 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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: 8 * 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 (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.001011/0.8094, allocations: 286.7 kB / 0.7119 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004879/0.8099, allocations: 82.97 kB / 0.712 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.8223, allocations: 2.399 MB / 0.7143 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.8224, allocations: 8 kB / 0.7143 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.8224, allocations: 11.95 kB / 0.7143 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.8225, allocations: 3.984 kB / 0.7143 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.8376, allocations: 3.678 MB / 0.7179 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/0.8377, allocations: 4.062 kB / 0.7179 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.8388, allocations: 79.91 kB / 0.718 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00635/0.8452, allocations: 1.079 MB / 0.7191 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002356/0.8455, allocations: 17.06 kB / 0.7191 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/0.861, allocations: 4.278 MB / 0.7233 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.8611, allocations: 4 kB / 0.7233 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/0.8762, allocations: 3.085 MB / 0.7263 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006398/0.8768, allocations: 187.9 kB / 0.7265 GB, free: 6.941 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/0.8773, allocations: 12 kB / 0.7265 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.879, allocations: 75.94 kB / 0.7265 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/0.8796, allocations: 132.3 kB / 0.7267 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.8797, allocations: 16 kB / 0.7267 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00153/0.8813, allocations: 0.5264 MB / 0.7272 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/0.8813, allocations: 0 / 0.7272 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002968/0.8843, allocations: 491.3 kB / 0.7277 GB, free: 5.711 MB / 0.5105 GB 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 () * Number of clocked 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.01454/0.8989, allocations: 3.817 MB / 0.7314 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01423/0.9131, allocations: 3.15 MB / 0.7345 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.9132, allocations: 0 / 0.7345 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005611/0.9188, allocations: 1.267 MB / 0.7357 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.92, allocations: 61.48 kB / 0.7358 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009331/0.9294, allocations: 3.873 MB / 0.7395 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.9304, allocations: 0.9984 MB / 0.7405 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007884/0.9313, allocations: 70.95 kB / 0.7406 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/0.9321, allocations: 303.3 kB / 0.7409 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of SimCode: time 1.874e-06/0.9321, allocations: 0 / 0.7409 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06654/0.9986, allocations: 25.78 MB / 0.7661 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.9989, allocations: 210.2 kB / 0.7663 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.782/3.781, allocations: 0 / 0.7663 GB, free: 14.09 MB / 0.5573 GB (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)