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.001306/0.001306, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04114/0.04114, allocations: 8.701 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 221.4 MB / 246 MB, free: 3.543 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.0009565/0.0009566, allocations: 102.8 kB / 299.1 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.175e-05/4.193e-05, allocations: 4 kB / 359.6 MB, free: 6.402 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.292, allocations: 52.54 MB / 412.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5149/0.8069, allocations: 139.6 MB / 0.5389 GB, free: 37.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.8073, allocations: 73.09 kB / 0.5389 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7343/1.542, allocations: 221 MB / 0.7547 GB, free: 71.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.542, allocations: 0 / 0.7547 GB, free: 71.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004643/1.542, allocations: 145 kB / 0.7549 GB, free: 71.04 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.02369/1.566, allocations: 6.14 MB / 0.7609 GB, free: 68.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/1.566, allocations: 7.375 kB / 0.7609 GB, free: 68.34 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00647/1.572, allocations: 1.037 MB / 0.7619 GB, free: 67.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.019/1.591, allocations: 3.021 MB / 0.7648 GB, free: 67.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.017/1.608, allocations: 5.558 MB / 0.7703 GB, free: 64.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005442/1.609, allocations: 482.2 kB / 0.7707 GB, free: 64.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003285/1.612, allocations: 0.6097 MB / 0.7713 GB, free: 64.01 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03118/1.644, allocations: 10.13 MB / 0.7812 GB, free: 55.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004333/1.644, allocations: 15.84 kB / 0.7812 GB, free: 55.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002555/1.647, allocations: 266.3 kB / 0.7815 GB, free: 55.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006403/1.647, allocations: 0.4909 MB / 0.782 GB, free: 55.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/1.67, allocations: 9.128 MB / 0.7909 GB, free: 46.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06559/1.736, allocations: 35.51 MB / 0.8256 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01941/1.755, allocations: 20.74 MB / 0.8458 GB, free: 3.398 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004736/1.76, allocations: 2.242 MB / 0.848 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005177/1.76, allocations: 228.3 kB / 0.8482 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.586e-05/1.761, allocations: 64.83 kB / 0.8483 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 7.634e-06/1.761, allocations: 0 / 0.8483 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of matching and sorting (n=301): time 0.3674/2.128, allocations: 8.437 MB / 0.8565 GB, free: 83.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/2.128, allocations: 85.78 kB / 0.8566 GB, free: 83.74 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/2.134, allocations: 2.656 MB / 0.8592 GB, free: 83.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007713/2.134, allocations: 74.3 kB / 0.8593 GB, free: 83.44 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002193/2.137, allocations: 2.851 MB / 0.8621 GB, free: 82.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001789/2.138, allocations: 1.037 MB / 0.8631 GB, free: 81.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/2.139, allocations: 93 kB / 0.8632 GB, free: 81.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004229/2.139, allocations: 0.4887 MB / 0.8636 GB, free: 81.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/2.143, allocations: 1.955 MB / 0.8655 GB, free: 81.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00404/2.147, allocations: 3.628 MB / 0.8691 GB, free: 79.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004598/2.151, allocations: 2.787 MB / 0.8718 GB, free: 78.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.771e-05/2.151, allocations: 13.44 kB / 0.8718 GB, free: 78.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01316/2.165, allocations: 6.48 MB / 0.8781 GB, free: 78.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/2.165, allocations: 31.03 kB / 0.8782 GB, free: 78.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/2.165, allocations: 54.38 kB / 0.8782 GB, free: 78.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/2.167, allocations: 0.678 MB / 0.8789 GB, free: 78.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004455/2.171, allocations: 1.071 MB / 0.8799 GB, free: 78.65 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008752/2.18, allocations: 5.788 MB / 0.8856 GB, free: 77.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005695/2.186, allocations: 312.9 kB / 0.8859 GB, free: 77.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/2.187, allocations: 231 kB / 0.8861 GB, free: 77.18 MB / 474.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.002294/2.19, allocations: 398.5 kB / 0.8865 GB, free: 77.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001623/2.191, allocations: 318.2 kB / 0.8868 GB, free: 76.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/2.202, allocations: 4.54 MB / 0.8912 GB, free: 76.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/2.202, allocations: 31.5 kB / 0.8913 GB, free: 76.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.899e-05/2.202, allocations: 3.719 kB / 0.8913 GB, free: 76.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.231e-05/2.202, allocations: 19.11 kB / 0.8913 GB, free: 76.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02915/2.231, allocations: 11.34 MB / 0.9023 GB, free: 75.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.009e-05/2.231, allocations: 7.5 kB / 0.9024 GB, free: 75.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/2.234, allocations: 0.5233 MB / 0.9029 GB, free: 75.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/2.235, allocations: 0.5642 MB / 0.9034 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004705/2.236, allocations: 67.22 kB / 0.9035 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006643/2.242, allocations: 5.014 MB / 0.9084 GB, free: 72.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/2.242, allocations: 13.44 kB / 0.9084 GB, free: 72.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/2.255, allocations: 6.912 MB / 0.9151 GB, free: 69.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002833/2.258, allocations: 0.7493 MB / 0.9159 GB, free: 68.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/2.259, allocations: 56.31 kB / 0.9159 GB, free: 68.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002882/2.262, allocations: 162.8 kB / 0.9161 GB, free: 68.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006922/2.263, allocations: 207.5 kB / 0.9163 GB, free: 68.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003375/2.263, allocations: 90.23 kB / 0.9164 GB, free: 68.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004711/2.268, allocations: 1.959 MB / 0.9183 GB, free: 67.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.12e-07/2.268, allocations: 0 / 0.9183 GB, free: 67.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007465/2.275, allocations: 1.231 MB / 0.9195 GB, free: 67.62 MB / 474.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.01401/2.289, allocations: 8.993 MB / 0.9283 GB, free: 62.51 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01021/2.3, allocations: 4.905 MB / 0.9331 GB, free: 60.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/2.3, allocations: 384 / 0.9331 GB, free: 60.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004339/2.304, allocations: 2.211 MB / 0.9352 GB, free: 59.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/2.309, allocations: 0.5702 MB / 0.9358 GB, free: 59.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03523/2.344, allocations: 11.34 MB / 0.9468 GB, free: 51.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007153/2.351, allocations: 4.255 MB / 0.951 GB, free: 48.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005706/2.357, allocations: 1.406 MB / 0.9524 GB, free: 47.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005178/2.362, allocations: 2.235 MB / 0.9546 GB, free: 45.22 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/2.362, allocations: 0 / 0.9546 GB, free: 45.22 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4648/2.827, allocations: 90.13 MB / 1.043 GB, free: 86.65 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/2.827, allocations: 175.1 kB / 1.043 GB, free: 86.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.843/7.67, allocations: 0 / 1.043 GB, free: 86.43 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)