Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.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.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 227.2 MB / 245 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008715/0.0008715, allocations: 109.4 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000241/0.000241, allocations: 4 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2223, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09909/0.3215, allocations: 79.23 MB / 488.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3217, allocations: 69.19 kB / 488.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00818/0.3299, allocations: 2.943 MB / 491.7 MB, free: 8.344 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.33, allocations: 4 kB / 491.7 MB, free: 8.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.33, allocations: 3.984 kB / 491.7 MB, free: 8.336 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005618/0.3306, allocations: 434.8 kB / 492.2 MB, free: 7.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3306, allocations: 8.031 kB / 492.2 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.56e-05/0.3307, allocations: 42.55 kB / 492.2 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.3309, allocations: 31.8 kB / 492.2 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.3311, allocations: 193.9 kB / 492.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3311, allocations: 11.98 kB / 492.5 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.3311, allocations: 15.89 kB / 492.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.3314, allocations: 117.6 kB / 492.6 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3314, allocations: 7.906 kB / 492.6 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.3315, allocations: 4 kB / 492.6 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.3315, allocations: 4 kB / 492.6 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.3317, allocations: 99.81 kB / 492.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.3326, allocations: 0.5283 MB / 493.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.3329, allocations: 106.5 kB / 493.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.3329, allocations: 0 / 493.3 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.333, allocations: 38.56 kB / 493.4 MB, free: 6.535 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.333, allocations: 4 kB / 493.4 MB, free: 6.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004269/0.3334, allocations: 161.5 kB / 493.5 MB, free: 6.367 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.3335, allocations: 55.41 kB / 493.6 MB, free: 6.301 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.3336, allocations: 121.2 kB / 493.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3336, allocations: 33.7 kB / 493.7 MB, free: 6.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.3337, allocations: 108.2 kB / 493.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.3337, allocations: 39.44 kB / 493.9 MB, free: 5.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.3337, allocations: 4 kB / 493.9 MB, free: 5.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.3338, allocations: 318.8 kB / 494.2 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.3339, allocations: 43.97 kB / 494.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3341, allocations: 74.97 kB / 494.3 MB, free: 5.535 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.3342, allocations: 55.91 kB / 494.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3342, allocations: 0 / 494.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003133/0.3345, allocations: 148.5 kB / 494.5 MB, free: 5.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3346, allocations: 12.08 kB / 494.5 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.3346, allocations: 4 kB / 494.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3346, allocations: 0 / 494.5 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.3348, allocations: 39.88 kB / 494.6 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3348, allocations: 4 kB / 494.6 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.3349, allocations: 23.83 kB / 494.6 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3349, allocations: 4 kB / 494.6 MB, free: 5.246 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.574e-05/0.335, allocations: 121.8 kB / 494.7 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.335, allocations: 7.906 kB / 494.7 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.3351, allocations: 16.72 kB / 494.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3351, allocations: 0 / 494.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3351, allocations: 7.938 kB / 494.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3351, allocations: 0 / 494.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3353, allocations: 206 kB / 494.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3353, allocations: 7.875 kB / 495 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.3355, allocations: 35.95 kB / 495 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3355, allocations: 4 kB / 495 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3356, allocations: 7.938 kB / 495 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3356, allocations: 4 kB / 495 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3356, allocations: 0 / 495 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.336, allocations: 275.3 kB / 495.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.3361, allocations: 88.98 kB / 495.4 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3361, allocations: 8 kB / 495.4 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3362, allocations: 4 kB / 495.4 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.3363, allocations: 7.984 kB / 495.4 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3363, allocations: 8 kB / 495.4 MB, free: 4.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.3363, allocations: 106 kB / 495.5 MB, free: 4.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3363, allocations: 0 / 495.5 MB, free: 4.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.3366, allocations: 39.94 kB / 495.5 MB, free: 4.219 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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 (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000681/0.3373, allocations: 0.7943 MB / 496.3 MB, free: 3.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.3376, allocations: 111.9 kB / 496.4 MB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3376, allocations: 0 / 496.4 MB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3377, allocations: 47.97 kB / 496.5 MB, free: 3.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.338, allocations: 22.72 kB / 496.5 MB, free: 3.219 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.3396, allocations: 1.507 MB / 498 MB, free: 1.648 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3399, allocations: 0.716 MB / 498.7 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.329e-05/0.34, allocations: 4.562 kB / 498.7 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.34, allocations: 35.42 kB / 498.8 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.34, allocations: 0 / 498.8 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.3545, allocations: 2.338 MB / 0.4894 GB, free: 14.68 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/0.3548, allocations: 188 kB / 0.4895 GB, free: 14.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/1.913, allocations: 0 / 0.4895 GB, free: 14.44 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat