Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.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_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",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.00855/0.00855, allocations: 171.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03809/0.03809, allocations: 8.798 MB / 24.65 MB, free: 4.113 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.327/1.327, allocations: 223.2 MB / 250.7 MB, free: 6.598 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.0009585/0.0009582, allocations: 97.56 kB / 304 MB, free: 4.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004841, allocations: 12 kB / 367.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3153, allocations: 52.54 MB / 419.7 MB, free: 48.21 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.468, allocations: 117.1 MB / 0.5242 GB, free: 3.922 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4683, allocations: 79.97 kB / 0.5243 GB, free: 3.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5693/1.038, allocations: 156 MB / 0.6766 GB, free: 26.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.348e-06/1.038, allocations: 0 / 0.6766 GB, free: 26.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003238/1.038, allocations: 91.81 kB / 0.6767 GB, free: 26.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01107/1.049, allocations: 3.886 MB / 0.6804 GB, free: 22.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/1.049, allocations: 8.562 kB / 0.6805 GB, free: 22.86 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001423/1.051, allocations: 0.5528 MB / 0.681 GB, free: 22.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00443/1.055, allocations: 0.8851 MB / 0.6819 GB, free: 21.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008276/1.063, allocations: 3.556 MB / 0.6853 GB, free: 17.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/1.064, allocations: 275.4 kB / 0.6856 GB, free: 17.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007506/1.064, allocations: 371.9 kB / 0.6859 GB, free: 17.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006925/1.071, allocations: 4.599 MB / 0.6904 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.859e-05/1.071, allocations: 3.906 kB / 0.6904 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/1.072, allocations: 156 kB / 0.6906 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/1.072, allocations: 151.3 kB / 0.6907 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005465/1.077, allocations: 3.664 MB / 0.6943 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/1.098, allocations: 15.38 MB / 0.7093 GB, free: 8.621 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00591/1.104, allocations: 6.034 MB / 0.7152 GB, free: 1.816 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007565/1.112, allocations: 4.107 MB / 0.7192 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/1.112, allocations: 51.5 kB / 0.7193 GB, free: 13.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=122): time 3.467e-06/1.112, allocations: 0 / 0.7193 GB, free: 13.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.009908/1.122, allocations: 5.012 MB / 0.7242 GB, free: 8.383 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.122, allocations: 72.66 kB / 0.7243 GB, free: 8.301 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/1.125, allocations: 1.868 MB / 0.7261 GB, free: 6.402 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/1.125, allocations: 49.7 kB / 0.7261 GB, free: 6.348 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/1.126, allocations: 1.722 MB / 0.7278 GB, free: 4.602 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/1.127, allocations: 0.5123 MB / 0.7283 GB, free: 4.082 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.127, allocations: 40 kB / 0.7283 GB, free: 4.043 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/1.127, allocations: 398.3 kB / 0.7287 GB, free: 3.648 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/1.128, allocations: 0.7578 MB / 0.7295 GB, free: 2.887 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/1.13, allocations: 1.49 MB / 0.7309 GB, free: 1.055 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2375/1.368, allocations: 2.624 MB / 0.7335 GB, free: 75.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/1.368, allocations: 6.438 kB / 0.7335 GB, free: 75.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004412/1.372, allocations: 2.749 MB / 0.7362 GB, free: 75.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/1.372, allocations: 16.62 kB / 0.7362 GB, free: 75.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/1.372, allocations: 25.38 kB / 0.7362 GB, free: 75.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006958/1.373, allocations: 289.7 kB / 0.7365 GB, free: 75.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.374, allocations: 492.5 kB / 0.737 GB, free: 75.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/1.378, allocations: 3.184 MB / 0.7401 GB, free: 74.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/1.379, allocations: 91.67 kB / 0.7402 GB, free: 74.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/1.38, allocations: 99.84 kB / 0.7403 GB, free: 74.51 MB / 458.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001906/1.382, allocations: 1.087 MB / 0.7413 GB, free: 74.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/1.382, allocations: 225.6 kB / 0.7415 GB, free: 74.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/1.385, allocations: 1.775 MB / 0.7433 GB, free: 74.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.385, allocations: 13.47 kB / 0.7433 GB, free: 74.29 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/1.385, allocations: 7.094 kB / 0.7433 GB, free: 74.29 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.385, allocations: 7.172 kB / 0.7433 GB, free: 74.29 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007231/1.392, allocations: 5.037 MB / 0.7482 GB, free: 73.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.392, allocations: 3.75 kB / 0.7482 GB, free: 73.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/1.393, allocations: 266 kB / 0.7485 GB, free: 73.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005615/1.394, allocations: 224.8 kB / 0.7487 GB, free: 73.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-05/1.394, allocations: 33.17 kB / 0.7487 GB, free: 73.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/1.397, allocations: 3.034 MB / 0.7517 GB, free: 72.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.397, allocations: 2.719 kB / 0.7517 GB, free: 72.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00358/1.4, allocations: 2.844 MB / 0.7545 GB, free: 71.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.402, allocations: 458.3 kB / 0.7549 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/1.402, allocations: 37.34 kB / 0.7549 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000909/1.403, allocations: 61.97 kB / 0.755 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.403, allocations: 101.9 kB / 0.7551 GB, free: 71.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/1.403, allocations: 47.33 kB / 0.7551 GB, free: 71.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002038/1.405, allocations: 1.402 MB / 0.7565 GB, free: 71.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.405, allocations: 0 / 0.7565 GB, free: 71.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002617/1.408, allocations: 0.6818 MB / 0.7572 GB, free: 71.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.zeroInductor.i0,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 128 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005005/1.413, allocations: 4.186 MB / 0.7613 GB, free: 69.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003671/1.416, allocations: 2.133 MB / 0.7633 GB, free: 69.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.416, allocations: 1.375 kB / 0.7633 GB, free: 69.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/1.418, allocations: 0.9616 MB / 0.7643 GB, free: 69.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.421, allocations: 0.5406 MB / 0.7648 GB, free: 69.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03576/1.457, allocations: 34.04 MB / 0.798 GB, free: 45.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/1.459, allocations: 2.489 MB / 0.8005 GB, free: 45.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002356/1.461, allocations: 0.4976 MB / 0.801 GB, free: 45.01 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/1.463, allocations: 1.324 MB / 0.8023 GB, free: 45 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/1.463, allocations: 0 / 0.8023 GB, free: 45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09115/1.554, allocations: 56.51 MB / 0.8574 GB, free: 32.24 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001421/1.554, allocations: 216.1 kB / 0.8576 GB, free: 31.99 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/5.191, allocations: 2.812 kB / 0.8576 GB, free: 31.99 MB / 458.7 MB (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1_fmu --startTime=0 --stopTime=0.5 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1)