Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.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/HanserModelica 2.0.0-master/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) 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.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) Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3",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.001528/0.001528, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06546/0.06546, allocations: 8.723 MB / 16.79 MB, free: 3.379 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.458/1.458, allocations: 221.5 MB / 240.9 MB, free: 13.14 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.001371/0.001371, allocations: 95.69 kB / 293.9 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.883e-05, allocations: 4 kB / 352.7 MB, free: 1.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1545, allocations: 52.55 MB / 405.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.6069, allocations: 139 MB / 0.5315 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.6072, allocations: 79.95 kB / 0.5316 GB, free: 12.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01/1.617, allocations: 218.5 MB / 0.745 GB, free: 57.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.617, allocations: 3.719 kB / 0.745 GB, free: 57.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004744/1.618, allocations: 146.2 kB / 0.7451 GB, free: 57.52 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.02243/1.64, allocations: 6.123 MB / 0.7511 GB, free: 55.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.64, allocations: 13.33 kB / 0.7511 GB, free: 55.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/1.659, allocations: 3.008 MB / 0.7541 GB, free: 55.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/1.675, allocations: 5.563 MB / 0.7595 GB, free: 54.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/1.676, allocations: 202.6 kB / 0.7597 GB, free: 54.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/1.678, allocations: 373.6 kB / 0.76 GB, free: 54.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01576/1.694, allocations: 7.979 MB / 0.7678 GB, free: 54.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02919/1.723, allocations: 9.146 MB / 0.7768 GB, free: 53.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004208/1.724, allocations: 19.22 kB / 0.7768 GB, free: 53.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002355/1.726, allocations: 6.531 kB / 0.7768 GB, free: 53.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005375/1.726, allocations: 493.8 kB / 0.7773 GB, free: 53.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07108/1.798, allocations: 34.92 MB / 0.8114 GB, free: 45.57 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02356/1.821, allocations: 21.78 MB / 0.8326 GB, free: 26.76 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004206/1.825, allocations: 2.272 MB / 0.8348 GB, free: 25.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005213/1.826, allocations: 226.8 kB / 0.8351 GB, free: 25.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.642e-05/1.826, allocations: 61.86 kB / 0.8351 GB, free: 25.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=295): time 5.881e-06/1.826, allocations: 4 kB / 0.8351 GB, free: 25.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=301): time 0.02211/1.848, allocations: 9.85 MB / 0.8447 GB, free: 21.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/1.848, allocations: 80.84 kB / 0.8448 GB, free: 21.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005098/1.853, allocations: 2.325 MB / 0.8471 GB, free: 20.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005355/1.854, allocations: 27.67 kB / 0.8471 GB, free: 20.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/1.856, allocations: 2.868 MB / 0.8499 GB, free: 18.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.857, allocations: 0.9888 MB / 0.8509 GB, free: 17.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005418/1.857, allocations: 0 / 0.8509 GB, free: 17.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003958/1.858, allocations: 497.1 kB / 0.8514 GB, free: 17.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/1.861, allocations: 1.963 MB / 0.8533 GB, free: 16.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003743/1.865, allocations: 3.617 MB / 0.8568 GB, free: 13.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006273/1.871, allocations: 3.481 MB / 0.8602 GB, free: 12.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.967e-05/1.871, allocations: 18.34 kB / 0.8602 GB, free: 12.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01513/1.886, allocations: 6.86 MB / 0.8669 GB, free: 9.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.831e-05/1.886, allocations: 32.12 kB / 0.867 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-05/1.886, allocations: 54.78 kB / 0.867 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/1.888, allocations: 0.6631 MB / 0.8677 GB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/1.893, allocations: 1.095 MB / 0.8687 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00825/1.901, allocations: 5.615 MB / 0.8742 GB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/1.906, allocations: 240 kB / 0.8744 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/1.907, allocations: 226.9 kB / 0.8747 GB, free: 6.383 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 558 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001897/1.909, allocations: 255.9 kB / 0.8749 GB, free: 6.227 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01007/1.919, allocations: 4.341 MB / 0.8791 GB, free: 4.648 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/1.921, allocations: 301 kB / 0.8794 GB, free: 4.496 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/1.932, allocations: 5.001 MB / 0.8843 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/1.932, allocations: 32 kB / 0.8843 GB, free: 500 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/1.932, allocations: 4 kB / 0.8843 GB, free: 496 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.945e-05/1.932, allocations: 15.42 kB / 0.8844 GB, free: 496 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02359/1.955, allocations: 11.05 MB / 0.8951 GB, free: 7.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/1.955, allocations: 7.953 kB / 0.8951 GB, free: 7.582 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002425/1.958, allocations: 0.5521 MB / 0.8957 GB, free: 7.152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/1.96, allocations: 0.5536 MB / 0.8962 GB, free: 6.742 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000374/1.96, allocations: 27.52 kB / 0.8963 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007394/1.967, allocations: 4.874 MB / 0.901 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.967, allocations: 6.625 kB / 0.901 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/1.982, allocations: 7.506 MB / 0.9083 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/1.984, allocations: 0.7579 MB / 0.9091 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.986, allocations: 8 kB / 0.9091 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/1.988, allocations: 131.7 kB / 0.9092 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006956/1.989, allocations: 209.1 kB / 0.9094 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003858/1.989, allocations: 87.22 kB / 0.9095 GB, free: 10.72 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003894/1.993, allocations: 1.663 MB / 0.9111 GB, free: 9.238 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.993, allocations: 0 / 0.9111 GB, free: 9.238 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006531/2, allocations: 1.061 MB / 0.9122 GB, free: 8.184 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (smee.gamma,smee.excitation.electroMagneticConverter.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,64.1%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3003/2.3, allocations: 9.484 MB / 0.9214 GB, free: 81.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009888/2.31, allocations: 4.852 MB / 0.9262 GB, free: 81.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/2.31, allocations: 6.25 kB / 0.9262 GB, free: 81.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004797/2.315, allocations: 2.231 MB / 0.9284 GB, free: 81.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/2.318, allocations: 457.2 kB / 0.9288 GB, free: 81.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/2.341, allocations: 11.17 MB / 0.9397 GB, free: 79.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003805/2.345, allocations: 4.252 MB / 0.9438 GB, free: 78.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004586/2.349, allocations: 1.386 MB / 0.9452 GB, free: 78.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003366/2.353, allocations: 2.234 MB / 0.9474 GB, free: 78.58 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/2.353, allocations: 0 / 0.9474 GB, free: 78.58 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.13/2.483, allocations: 82.23 MB / 1.028 GB, free: 64.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/2.483, allocations: 147.5 kB / 1.028 GB, free: 64.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.413/6.896, allocations: 0 / 1.028 GB, free: 64.49 MB / 490.7 MB (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip3.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip3.pipe 2>&1)