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.001652/0.001652, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 221.5 MB / 229.6 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 89.67 kB / 280.5 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4911/0.4911, allocations: 78.12 MB / 409.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.108e-05/2.108e-05, allocations: 11.88 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1642, allocations: 69.33 MB / 0.5414 GB, free: 6.875 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.6192, allocations: 98.24 MB / 0.6374 GB, free: 1.453 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.6195, allocations: 79.95 kB / 0.6374 GB, free: 1.375 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06005/0.6795, allocations: 21.94 MB / 0.6589 GB, free: 11.47 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6796, allocations: 0 / 0.6589 GB, free: 11.47 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.702e-05/0.6796, allocations: 16 kB / 0.6589 GB, free: 11.46 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.003111/0.6827, allocations: 1.266 MB / 0.6601 GB, free: 10.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.6828, allocations: 12.03 kB / 0.6601 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.6851, allocations: 390.4 kB / 0.6605 GB, free: 9.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.6862, allocations: 0.5982 MB / 0.6611 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.6864, allocations: 130.3 kB / 0.6612 GB, free: 8.969 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6865, allocations: 39.89 kB / 0.6612 GB, free: 8.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001012/0.6875, allocations: 0.5536 MB / 0.6618 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.6887, allocations: 0.6172 MB / 0.6624 GB, free: 7.742 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6887, allocations: 0 / 0.6624 GB, free: 7.742 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/0.6888, allocations: 0 / 0.6624 GB, free: 7.742 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.6888, allocations: 12 kB / 0.6624 GB, free: 7.73 MB / 474.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.005252/0.694, allocations: 2.773 MB / 0.6651 GB, free: 4.848 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.7074, allocations: 3.675 MB / 0.6687 GB, free: 1.121 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/0.7082, allocations: 381.1 kB / 0.6691 GB, free: 0.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.7083, allocations: 17.44 kB / 0.6691 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.7084, allocations: 35.12 kB / 0.6691 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.396e-06/0.7084, allocations: 4 kB / 0.6691 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.005758/0.7142, allocations: 1.894 MB / 0.671 GB, free: 14.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.7143, allocations: 85.67 kB / 0.671 GB, free: 14.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.7153, allocations: 0.6174 MB / 0.6716 GB, free: 14.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.7155, allocations: 25.7 kB / 0.6717 GB, free: 14.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.7158, allocations: 376.6 kB / 0.672 GB, free: 13.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.716, allocations: 228.5 kB / 0.6722 GB, free: 13.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.7161, allocations: 4 kB / 0.6722 GB, free: 13.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.7162, allocations: 338.5 kB / 0.6726 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.7168, allocations: 321.6 kB / 0.6729 GB, free: 12.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.7174, allocations: 418.7 kB / 0.6733 GB, free: 12.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.7179, allocations: 361.3 kB / 0.6736 GB, free: 11.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.718, allocations: 0 / 0.6736 GB, free: 11.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006308/0.7243, allocations: 2.119 MB / 0.6757 GB, free: 9.844 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.7246, allocations: 0.7037 MB / 0.6764 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.7246, allocations: 0 / 0.6764 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004046/0.7287, allocations: 1.013 MB / 0.6774 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.7294, allocations: 107.9 kB / 0.6775 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008332/0.7377, allocations: 4.3 MB / 0.6817 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.7389, allocations: 107.3 kB / 0.6818 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/0.739, allocations: 23.98 kB / 0.6818 GB, free: 3.414 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.7391, allocations: 5.5 kB / 0.6818 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006106/0.7452, allocations: 1.992 MB / 0.6837 GB, free: 1.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.7452, allocations: 4 kB / 0.6837 GB, free: 1.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004024/0.7493, allocations: 1.012 MB / 0.6847 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.7499, allocations: 99.89 kB / 0.6848 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/0.7585, allocations: 4.303 MB / 0.689 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.7599, allocations: 95.47 kB / 0.6891 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/0.76, allocations: 23.98 kB / 0.6891 GB, free: 11.75 MB / 0.4948 GB 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.0003794/0.7603, allocations: 122 kB / 0.6893 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005402/0.7658, allocations: 1.897 MB / 0.6911 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.7661, allocations: 82.97 kB / 0.6912 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005516/0.7716, allocations: 1.958 MB / 0.6931 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.7717, allocations: 13.31 kB / 0.6931 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.7717, allocations: 11.89 kB / 0.6931 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.7717, allocations: 3.984 kB / 0.6931 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007396/0.7791, allocations: 3.167 MB / 0.6962 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.7792, allocations: 0 / 0.6962 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/0.7798, allocations: 91.78 kB / 0.6963 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002849/0.7827, allocations: 0.8434 MB / 0.6971 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/0.7828, allocations: 10.94 kB / 0.6972 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005653/0.7885, allocations: 3.275 MB / 0.7003 GB, free: 24 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.7885, allocations: 0 / 0.7003 GB, free: 24 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006376/0.7949, allocations: 2.527 MB / 0.7028 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005484/0.7955, allocations: 183.9 kB / 0.703 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.7956, allocations: 4 kB / 0.703 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008336/0.7965, allocations: 67.94 kB / 0.7031 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/0.7969, allocations: 128.4 kB / 0.7032 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/0.7969, allocations: 19.98 kB / 0.7032 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000764/0.7977, allocations: 479.2 kB / 0.7037 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7977, allocations: 0 / 0.7037 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001706/0.7994, allocations: 455.2 kB / 0.7041 GB, free: 12.13 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 () * 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.006622/0.8061, allocations: 3.247 MB / 0.7073 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006552/0.8126, allocations: 2.705 MB / 0.7099 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.872e-05/0.8127, allocations: 0 / 0.7099 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0027/0.8154, allocations: 1.101 MB / 0.711 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007557/0.8162, allocations: 47.3 kB / 0.711 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.8198, allocations: 1.583 MB / 0.7126 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.8203, allocations: 0.9956 MB / 0.7135 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005949/0.8209, allocations: 115.8 kB / 0.7137 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004073/0.8214, allocations: 299.3 kB / 0.7139 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/0.8214, allocations: 0 / 0.7139 GB, free: 1.766 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05544/0.8768, allocations: 25.23 MB / 0.7386 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.877, allocations: 131.4 kB / 0.7387 GB, free: 8.594 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.744/3.621, allocations: 5.656 kB / 0.7387 GB, free: 8.59 MB / 0.5417 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)