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.001429/0.001429, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 88.56 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.51e-05, allocations: 4 kB / 350.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1257, allocations: 51.47 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.493, allocations: 106.5 MB / 0.4967 GB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.4933, allocations: 86.89 kB / 0.4968 GB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1116/0.6049, allocations: 39.62 MB / 0.5355 GB, free: 8.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6049, allocations: 0 / 0.5355 GB, free: 8.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002333/0.6052, allocations: 47.92 kB / 0.5355 GB, free: 8.785 MB / 410.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.004955/0.6102, allocations: 1.78 MB / 0.5373 GB, free: 6.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6102, allocations: 8.031 kB / 0.5373 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007581/0.611, allocations: 228.2 kB / 0.5375 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.6121, allocations: 241.5 kB / 0.5377 GB, free: 6.477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.6158, allocations: 1.286 MB / 0.539 GB, free: 5.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.6159, allocations: 111.1 kB / 0.5391 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005298/0.6165, allocations: 152 kB / 0.5392 GB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004714/0.6212, allocations: 1.973 MB / 0.5412 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-05/0.6213, allocations: 3.906 kB / 0.5412 GB, free: 2.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.6216, allocations: 64 kB / 0.5412 GB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.6217, allocations: 70.94 kB / 0.5413 GB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.625, allocations: 1.546 MB / 0.5428 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.6371, allocations: 7.005 MB / 0.5496 GB, free: 9.824 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008604/0.638, allocations: 496.9 kB / 0.5501 GB, free: 9.328 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.6384, allocations: 281.8 kB / 0.5504 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002937/0.6414, allocations: 1.44 MB / 0.5518 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.6415, allocations: 42.5 kB / 0.5518 GB, free: 7.516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.695e-06/0.6415, allocations: 0 / 0.5518 GB, free: 7.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.006246/0.6477, allocations: 2.586 MB / 0.5544 GB, free: 4.875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.6478, allocations: 59.95 kB / 0.5544 GB, free: 4.805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/0.651, allocations: 1.381 MB / 0.5558 GB, free: 3.418 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/0.6511, allocations: 33.7 kB / 0.5558 GB, free: 3.379 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.6522, allocations: 1.03 MB / 0.5568 GB, free: 2.336 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.6525, allocations: 217.1 kB / 0.557 GB, free: 2.121 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.6526, allocations: 32 kB / 0.557 GB, free: 2.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.6528, allocations: 373.9 kB / 0.5574 GB, free: 1.719 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/0.6537, allocations: 475.8 kB / 0.5579 GB, free: 1.254 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.6552, allocations: 1.35 MB / 0.5592 GB, free: 15.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.6565, allocations: 0.7462 MB / 0.5599 GB, free: 14.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.639e-05/0.6566, allocations: 12 kB / 0.5599 GB, free: 14.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003696/0.6603, allocations: 2.004 MB / 0.5619 GB, free: 12.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.009e-05/0.6603, allocations: 19.94 kB / 0.5619 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-05/0.6604, allocations: 36 kB / 0.5619 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/0.661, allocations: 231 kB / 0.5621 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.6622, allocations: 383.3 kB / 0.5625 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.6639, allocations: 1.745 MB / 0.5642 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6655, allocations: 131.5 kB / 0.5643 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.6656, allocations: 88 kB / 0.5644 GB, free: 9.93 MB / 442.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 () * 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.0002792/0.6659, allocations: 224.2 kB / 0.5646 GB, free: 9.703 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/0.6663, allocations: 154.1 kB / 0.5648 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.6682, allocations: 0.9888 MB / 0.5657 GB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6682, allocations: 7.953 kB / 0.5658 GB, free: 8.531 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6682, allocations: 7.938 kB / 0.5658 GB, free: 8.523 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6682, allocations: 7.984 kB / 0.5658 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00504/0.6733, allocations: 2.609 MB / 0.5683 GB, free: 5.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.6733, allocations: 9.703 kB / 0.5683 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/0.6739, allocations: 111.9 kB / 0.5684 GB, free: 5.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.6743, allocations: 166.4 kB / 0.5686 GB, free: 5.527 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.6744, allocations: 19.98 kB / 0.5686 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.676, allocations: 1.679 MB / 0.5703 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.676, allocations: 8.016 kB / 0.5703 GB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.6782, allocations: 1.486 MB / 0.5717 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007317/0.6789, allocations: 291.2 kB / 0.572 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003322/0.6793, allocations: 20.05 kB / 0.572 GB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/0.6801, allocations: 51.94 kB / 0.5721 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.6802, allocations: 40.5 kB / 0.5721 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.6803, allocations: 19.94 kB / 0.5721 GB, free: 1.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001938/0.6822, allocations: 1.019 MB / 0.5731 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6823, allocations: 4 kB / 0.5731 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001751/0.684, allocations: 388 kB / 0.5735 GB, free: 340 kB / 442.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 () * 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.2678/0.9518, allocations: 2.351 MB / 0.5758 GB, free: 98.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.9544, allocations: 1.5 MB / 0.5772 GB, free: 97.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9544, allocations: 0 / 0.5772 GB, free: 97.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000887/0.9553, allocations: 0.7054 MB / 0.5779 GB, free: 97.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.9574, allocations: 372.4 kB / 0.5783 GB, free: 97.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/0.9624, allocations: 2.631 MB / 0.5809 GB, free: 97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/0.9633, allocations: 1.498 MB / 0.5823 GB, free: 96.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001094/0.9644, allocations: 356 kB / 0.5827 GB, free: 96.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007851/0.9652, allocations: 0.6382 MB / 0.5833 GB, free: 96.26 MB / 442.7 MB Notification: Performance of SimCode: time 9.42e-07/0.9652, allocations: 2.625 kB / 0.5833 GB, free: 96.26 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06881/1.034, allocations: 36.61 MB / 0.619 GB, free: 94.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/1.034, allocations: 200.2 kB / 0.6192 GB, free: 94.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/4.157, allocations: 0 / 0.6192 GB, free: 94.07 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