Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_1.Example_1,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009645/0.0009645, allocations: 100.5 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 238.9 MB, free: 5.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 177.1 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.644/0.644, allocations: 79.45 MB / 420.7 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003721, allocations: 12 kB / 0.4891 GB, free: 5.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4719, allocations: 69.51 MB / 0.557 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.004659/0.4766, allocations: 4.558 MB / 0.5614 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.4801, allocations: 1.702 MB / 0.5631 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006392/0.4808, allocations: 7.531 kB / 0.5631 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.4812, allocations: 120 kB / 0.5632 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.4828, allocations: 0.5703 MB / 0.5638 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.4838, allocations: 390.2 kB / 0.5641 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.485, allocations: 0.7323 MB / 0.5648 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.4854, allocations: 193.8 kB / 0.565 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005296/0.4859, allocations: 403.3 kB / 0.5654 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006139/0.4865, allocations: 0.5096 MB / 0.5659 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.802e-05/0.4866, allocations: 48.75 kB / 0.566 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.487, allocations: 158.3 kB / 0.5661 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.4872, allocations: 184.8 kB / 0.5663 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.4874, allocations: 177.5 kB / 0.5665 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009018/0.4883, allocations: 1.049 MB / 0.5675 GB, free: 36.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4883, allocations: 0 / 0.5675 GB, free: 36.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4883, allocations: 0.625 kB / 0.5675 GB, free: 36.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.4883, allocations: 0 / 0.5675 GB, free: 36.52 MB / 430.1 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.005348/0.4937, allocations: 1.721 MB / 0.5692 GB, free: 35.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4937, allocations: 11.31 kB / 0.5692 GB, free: 35.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.494, allocations: 95.67 kB / 0.5693 GB, free: 35.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003776/0.4977, allocations: 0.5328 MB / 0.5698 GB, free: 35.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.4989, allocations: 0.6469 MB / 0.5704 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.4991, allocations: 160 kB / 0.5706 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.4992, allocations: 68.09 kB / 0.5706 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5008, allocations: 0.8183 MB / 0.5714 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.5008, allocations: 1.281 kB / 0.5714 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-05/0.5009, allocations: 19.06 kB / 0.5714 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.501, allocations: 14.91 kB / 0.5715 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.5023, allocations: 0.7304 MB / 0.5722 GB, free: 35.09 MB / 430.1 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.004788/0.5071, allocations: 3.045 MB / 0.5751 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.52, allocations: 3.912 MB / 0.579 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.5203, allocations: 20.59 kB / 0.579 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.5203, allocations: 42.16 kB / 0.579 GB, free: 32.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.955e-06/0.5203, allocations: 0 / 0.579 GB, free: 32.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01191/0.5322, allocations: 3.899 MB / 0.5828 GB, free: 31.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.5323, allocations: 83.77 kB / 0.5829 GB, free: 31.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.534, allocations: 0.7791 MB / 0.5837 GB, free: 31.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002438/0.5342, allocations: 36.14 kB / 0.5837 GB, free: 31.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.5345, allocations: 377 kB / 0.5841 GB, free: 30.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.5349, allocations: 238 kB / 0.5843 GB, free: 30.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.535, allocations: 23.47 kB / 0.5843 GB, free: 30.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.5351, allocations: 345 kB / 0.5847 GB, free: 30.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.5365, allocations: 0.5809 MB / 0.5852 GB, free: 29.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.5378, allocations: 0.6857 MB / 0.5859 GB, free: 29.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.5393, allocations: 0.6404 MB / 0.5865 GB, free: 29.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.5393, allocations: 0 / 0.5865 GB, free: 29.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008562/0.5478, allocations: 2.868 MB / 0.5893 GB, free: 28.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002014/0.5481, allocations: 0.705 MB / 0.59 GB, free: 27.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.5481, allocations: 2.344 kB / 0.59 GB, free: 27.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005033/0.5532, allocations: 1.267 MB / 0.5912 GB, free: 27.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.5543, allocations: 168.4 kB / 0.5914 GB, free: 27.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.5675, allocations: 5.594 MB / 0.5969 GB, free: 24.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.5693, allocations: 147.4 kB / 0.597 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/0.5696, allocations: 38.75 kB / 0.597 GB, free: 24.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5696, allocations: 4.094 kB / 0.597 GB, free: 24.63 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009118/0.5787, allocations: 2.736 MB / 0.5997 GB, free: 23.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.5788, allocations: 2.75 kB / 0.5997 GB, free: 23.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005453/0.5843, allocations: 1.26 MB / 0.601 GB, free: 23.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.5855, allocations: 170.8 kB / 0.6011 GB, free: 23.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.5993, allocations: 5.597 MB / 0.6066 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.6011, allocations: 130.2 kB / 0.6067 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003348/0.6015, allocations: 34.97 kB / 0.6067 GB, free: 20.72 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false 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 (103): * Single equations (assignments): 100 * 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.001053/0.6026, allocations: 303.9 kB / 0.607 GB, free: 20.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005342/0.6031, allocations: 87.69 kB / 0.6071 GB, free: 20.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00774/0.6109, allocations: 2.389 MB / 0.6094 GB, free: 19.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.6109, allocations: 6.25 kB / 0.6094 GB, free: 19.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.113e-05/0.611, allocations: 4.891 kB / 0.6095 GB, free: 19.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.611, allocations: 7.328 kB / 0.6095 GB, free: 19.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.6213, allocations: 3.674 MB / 0.613 GB, free: 18.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.6214, allocations: 8.516 kB / 0.6131 GB, free: 18.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000672/0.622, allocations: 84.55 kB / 0.6131 GB, free: 18.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003618/0.6257, allocations: 1.08 MB / 0.6142 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.6259, allocations: 12.56 kB / 0.6142 GB, free: 17.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008494/0.6344, allocations: 4.318 MB / 0.6184 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6345, allocations: 0 / 0.6184 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007371/0.6418, allocations: 3.094 MB / 0.6214 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.6423, allocations: 183.9 kB / 0.6216 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003756/0.6427, allocations: 16 kB / 0.6216 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.6438, allocations: 79.94 kB / 0.6217 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004328/0.6443, allocations: 128.3 kB / 0.6218 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-05/0.6444, allocations: 16 kB / 0.6218 GB, free: 9.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007746/0.6451, allocations: 0.5303 MB / 0.6224 GB, free: 9.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6452, allocations: 0 / 0.6224 GB, free: 9.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002299/0.6475, allocations: 0.5268 MB / 0.6229 GB, free: 8.688 MB / 430.1 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 () * 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.007813/0.6553, allocations: 3.794 MB / 0.6266 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009203/0.6646, allocations: 3.554 MB / 0.6301 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.6646, allocations: 8 kB / 0.6301 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003003/0.6677, allocations: 1.261 MB / 0.6313 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.6686, allocations: 58.98 kB / 0.6313 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.6748, allocations: 3.625 MB / 0.6349 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.6756, allocations: 0.9952 MB / 0.6359 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005956/0.6762, allocations: 85.27 kB / 0.6359 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/0.6768, allocations: 315.3 kB / 0.6362 GB, free: 10.73 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6768, allocations: 0 / 0.6362 GB, free: 10.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05628/0.7331, allocations: 26.4 MB / 0.662 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.7333, allocations: 208.5 kB / 0.6622 GB, free: 476 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/3.301, allocations: 0 / 0.6622 GB, free: 476 kB / 462.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_1_Example_1.fmu > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1) Environment - environmentSimulation: