Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 227.2 MB / 245 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008541/0.0008542, allocations: 93.28 kB / 297.2 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002134/0.0002134, allocations: 8 kB / 358 MB, free: 9.219 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2153, allocations: 51.49 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2939/0.5093, allocations: 106.6 MB / 0.504 GB, free: 95.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5096, allocations: 90.7 kB / 0.5041 GB, free: 95.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09007/0.5996, allocations: 39.6 MB / 0.5427 GB, free: 69.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5997, allocations: 0 / 0.5427 GB, free: 69.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001004/0.5998, allocations: 43.94 kB / 0.5428 GB, free: 69.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.003164/0.603, allocations: 1.996 MB / 0.5447 GB, free: 67.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.603, allocations: 8.031 kB / 0.5447 GB, free: 67.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002555/0.6033, allocations: 236.2 kB / 0.545 GB, free: 66.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005638/0.6039, allocations: 237.4 kB / 0.5452 GB, free: 66.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.606, allocations: 1.297 MB / 0.5465 GB, free: 65.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.6061, allocations: 119.1 kB / 0.5466 GB, free: 65.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.6062, allocations: 155.9 kB / 0.5467 GB, free: 65.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002559/0.6088, allocations: 2.007 MB / 0.5487 GB, free: 62.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.6089, allocations: 7.922 kB / 0.5487 GB, free: 62.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.609, allocations: 71.98 kB / 0.5488 GB, free: 62.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/0.6091, allocations: 66.94 kB / 0.5488 GB, free: 62.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.6113, allocations: 1.616 MB / 0.5504 GB, free: 61.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007589/0.6189, allocations: 6.991 MB / 0.5572 GB, free: 53.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.6195, allocations: 0.5101 MB / 0.5577 GB, free: 53.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/0.6216, allocations: 1.432 MB / 0.5591 GB, free: 51.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.6216, allocations: 34.56 kB / 0.5592 GB, free: 51.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.886e-06/0.6216, allocations: 0 / 0.5592 GB, free: 51.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.005634/0.6272, allocations: 3.053 MB / 0.5621 GB, free: 48.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.6273, allocations: 63.95 kB / 0.5622 GB, free: 48.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.6289, allocations: 1.389 MB / 0.5636 GB, free: 47.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.6289, allocations: 33.7 kB / 0.5636 GB, free: 47.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004673/0.6294, allocations: 1.03 MB / 0.5646 GB, free: 46.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.6295, allocations: 217.2 kB / 0.5648 GB, free: 45.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.6296, allocations: 28 kB / 0.5648 GB, free: 45.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.6297, allocations: 381.9 kB / 0.5652 GB, free: 45.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006871/0.6304, allocations: 0.5075 MB / 0.5657 GB, free: 45.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009472/0.6313, allocations: 1.381 MB / 0.567 GB, free: 43.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008802/0.6322, allocations: 0.7866 MB / 0.5678 GB, free: 42.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.6322, allocations: 8 kB / 0.5678 GB, free: 42.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00265/0.6349, allocations: 2.098 MB / 0.5699 GB, free: 40.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.6349, allocations: 16 kB / 0.5699 GB, free: 40.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.635, allocations: 35.94 kB / 0.5699 GB, free: 40.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004969/0.6355, allocations: 226.4 kB / 0.5701 GB, free: 40.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009947/0.6365, allocations: 387.4 kB / 0.5705 GB, free: 39.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.6377, allocations: 1.784 MB / 0.5722 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.639, allocations: 131.8 kB / 0.5724 GB, free: 37.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.942e-05/0.6391, allocations: 91.98 kB / 0.5724 GB, free: 37.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 192 * 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 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008539/0.64, allocations: 0.5809 MB / 0.573 GB, free: 36.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.6401, allocations: 162.1 kB / 0.5732 GB, free: 36.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.6417, allocations: 1.063 MB / 0.5742 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6417, allocations: 11.95 kB / 0.5742 GB, free: 35.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6417, allocations: 0 / 0.5742 GB, free: 35.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6417, allocations: 3.984 kB / 0.5742 GB, free: 35.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/0.6454, allocations: 2.691 MB / 0.5769 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6454, allocations: 0 / 0.5769 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.6459, allocations: 115.8 kB / 0.577 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003799/0.6463, allocations: 166.5 kB / 0.5771 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.6464, allocations: 15.98 kB / 0.5771 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.6474, allocations: 1.714 MB / 0.5788 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6475, allocations: 0 / 0.5788 GB, free: 30.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.6495, allocations: 1.614 MB / 0.5804 GB, free: 29.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.65, allocations: 287.1 kB / 0.5807 GB, free: 28.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.6502, allocations: 12 kB / 0.5807 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.6508, allocations: 60 kB / 0.5807 GB, free: 28.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.6509, allocations: 40.5 kB / 0.5808 GB, free: 28.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.651, allocations: 16 kB / 0.5808 GB, free: 28.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001252/0.6522, allocations: 1.043 MB / 0.5818 GB, free: 27.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6522, allocations: 0 / 0.5818 GB, free: 27.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001328/0.6536, allocations: 388 kB / 0.5822 GB, free: 27.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 53 * 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 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002463/0.656, allocations: 2.498 MB / 0.5846 GB, free: 24.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.6583, allocations: 1.576 MB / 0.5861 GB, free: 23.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6583, allocations: 0 / 0.5861 GB, free: 23.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008538/0.6591, allocations: 0.7515 MB / 0.5869 GB, free: 22.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.6608, allocations: 367.6 kB / 0.5872 GB, free: 21.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/0.6816, allocations: 31.65 MB / 0.6181 GB, free: 5.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.6829, allocations: 1.507 MB / 0.6196 GB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001243/0.6841, allocations: 345.7 kB / 0.6199 GB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008865/0.685, allocations: 0.636 MB / 0.6206 GB, free: 2.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.685, allocations: 0 / 0.6206 GB, free: 2.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06702/0.752, allocations: 36.34 MB / 0.656 GB, free: 14.84 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.7523, allocations: 225.5 kB / 0.6563 GB, free: 14.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/3.598, allocations: 0 / 0.6563 GB, free: 14.61 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.32 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat does not exist to compare? outputFormat=mat