Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 195.3 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 225.6 MB / 234.8 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009477/0.0009477, allocations: 102.7 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.797e-05, allocations: 4 kB / 343.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 51.48 MB / 395.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4102/0.5299, allocations: 120.7 MB / 0.5039 GB, free: 5.184 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5302, allocations: 95.5 kB / 0.504 GB, free: 5.133 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6491/1.179, allocations: 164.7 MB / 0.6649 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.179, allocations: 0 / 0.6649 GB, free: 59.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004855/1.18, allocations: 97.69 kB / 0.665 GB, free: 59.61 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01245/1.192, allocations: 3.947 MB / 0.6688 GB, free: 57.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/1.192, allocations: 13.06 kB / 0.6689 GB, free: 57.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006082/1.199, allocations: 0.9503 MB / 0.6698 GB, free: 57.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/1.209, allocations: 3.835 MB / 0.6735 GB, free: 55.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/1.21, allocations: 135.3 kB / 0.6737 GB, free: 55.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/1.212, allocations: 230.1 kB / 0.6739 GB, free: 55.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01052/1.222, allocations: 3.788 MB / 0.6776 GB, free: 53.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/1.235, allocations: 4.435 MB / 0.6819 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/1.235, allocations: 7.844 kB / 0.6819 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007981/1.236, allocations: 3.656 kB / 0.6819 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/1.236, allocations: 175.2 kB / 0.6821 GB, free: 51.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02603/1.262, allocations: 16.26 MB / 0.698 GB, free: 39.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/1.268, allocations: 8.453 MB / 0.7062 GB, free: 31.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/1.271, allocations: 1.756 MB / 0.7079 GB, free: 29.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008094/1.279, allocations: 5.541 MB / 0.7133 GB, free: 23.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/1.279, allocations: 47.88 kB / 0.7134 GB, free: 23.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 3.877e-06/1.279, allocations: 4 kB / 0.7134 GB, free: 23.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.01046/1.289, allocations: 5.11 MB / 0.7184 GB, free: 18.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/1.289, allocations: 68.72 kB / 0.7184 GB, free: 18.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/1.292, allocations: 1.657 MB / 0.7201 GB, free: 16.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001641/1.292, allocations: 29.7 kB / 0.7201 GB, free: 16.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008417/1.293, allocations: 1.863 MB / 0.7219 GB, free: 14.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003827/1.293, allocations: 0.5119 MB / 0.7224 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.79e-05/1.293, allocations: 0 / 0.7224 GB, free: 13.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/1.294, allocations: 398 kB / 0.7228 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009013/1.294, allocations: 0.7226 MB / 0.7235 GB, free: 12.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.296, allocations: 1.388 MB / 0.7249 GB, free: 11.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/1.298, allocations: 1.239 MB / 0.7261 GB, free: 9.906 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/1.298, allocations: 4 kB / 0.7261 GB, free: 9.902 MB / 442.7 MB Notification: Performance of matching and sorting (n=267) (initialization): time 0.004592/1.303, allocations: 2.752 MB / 0.7288 GB, free: 7.117 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.303, allocations: 19.94 kB / 0.7288 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/1.303, allocations: 24 kB / 0.7288 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/1.303, allocations: 174 kB / 0.729 GB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/1.305, allocations: 0.5343 MB / 0.7295 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/1.306, allocations: 2.171 MB / 0.7316 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/1.308, allocations: 79.88 kB / 0.7317 GB, free: 3.996 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.308, allocations: 96 kB / 0.7318 GB, free: 3.902 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (258): * Single equations (assignments): 256 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002903/1.309, allocations: 164.2 kB / 0.7319 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004057/1.313, allocations: 2.319 MB / 0.7342 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/1.313, allocations: 221.3 kB / 0.7344 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004504/1.318, allocations: 2.42 MB / 0.7368 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.318, allocations: 12 kB / 0.7368 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/1.318, allocations: 8 kB / 0.7368 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/1.318, allocations: 7.969 kB / 0.7368 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/1.329, allocations: 5.234 MB / 0.7419 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.329, allocations: 0 / 0.7419 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.33, allocations: 291.8 kB / 0.7422 GB, free: 9.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000967/1.331, allocations: 350.2 kB / 0.7425 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/1.331, allocations: 15.98 kB / 0.7425 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006875/1.338, allocations: 6.503 MB / 0.7489 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/1.338, allocations: 8.047 kB / 0.7489 GB, free: 1.816 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2822/1.62, allocations: 3.565 MB / 0.7524 GB, free: 82.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.622, allocations: 472.8 kB / 0.7528 GB, free: 82.21 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/1.622, allocations: 10.45 kB / 0.7528 GB, free: 82.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.623, allocations: 68.11 kB / 0.7529 GB, free: 82.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/1.623, allocations: 112.8 kB / 0.753 GB, free: 82.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/1.623, allocations: 45.41 kB / 0.753 GB, free: 82.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002034/1.625, allocations: 1.223 MB / 0.7542 GB, free: 82.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.625, allocations: 3.031 kB / 0.7542 GB, free: 82.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002653/1.628, allocations: 0.6292 MB / 0.7549 GB, free: 82.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 121 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00564/1.634, allocations: 4.798 MB / 0.7595 GB, free: 80.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002751/1.636, allocations: 2.021 MB / 0.7615 GB, free: 80.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.636, allocations: 0 / 0.7615 GB, free: 80.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001665/1.638, allocations: 1.335 MB / 0.7628 GB, free: 80.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/1.64, allocations: 441 kB / 0.7632 GB, free: 80.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.652, allocations: 6.363 MB / 0.7695 GB, free: 78.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002161/1.655, allocations: 2.742 MB / 0.7721 GB, free: 77.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001937/1.656, allocations: 0.5241 MB / 0.7726 GB, free: 77.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/1.658, allocations: 1.459 MB / 0.7741 GB, free: 77.93 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/1.658, allocations: 0 / 0.7741 GB, free: 77.93 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.77, allocations: 51.96 MB / 0.8248 GB, free: 74.98 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/1.771, allocations: 196.2 kB / 0.825 GB, free: 74.78 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.607/5.378, allocations: 0 / 0.825 GB, free: 74.78 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat does not exist to compare? outputFormat=mat