Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 198.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 227.2 MB / 245 MB, free: 7.629 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008855/0.0008855, allocations: 95.75 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002402, allocations: 8 kB / 358 MB, free: 9.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1813, allocations: 51.48 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08472/0.2661, allocations: 79.31 MB / 488.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.2663, allocations: 75.95 kB / 488.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01232/0.2786, allocations: 4.953 MB / 493.8 MB, free: 6.258 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2787, allocations: 0 / 493.8 MB, free: 6.258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.2787, allocations: 8 kB / 493.8 MB, free: 6.25 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008682/0.2796, allocations: 0.5498 MB / 494.4 MB, free: 5.652 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2796, allocations: 12.03 kB / 494.4 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.664e-05/0.2797, allocations: 62.53 kB / 494.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.2798, allocations: 35.62 kB / 494.5 MB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.2801, allocations: 258.5 kB / 494.7 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.2802, allocations: 24.5 kB / 494.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.2802, allocations: 28 kB / 494.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.2807, allocations: 244.9 kB / 495 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2807, allocations: 0 / 495 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.2808, allocations: 12 kB / 495 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2808, allocations: 8 kB / 495.1 MB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.2811, allocations: 190.2 kB / 495.2 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.2826, allocations: 1.033 MB / 496.3 MB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.283, allocations: 329.5 kB / 496.6 MB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.2831, allocations: 4.188 kB / 496.6 MB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2831, allocations: 38.69 kB / 496.6 MB, free: 3.211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.2831, allocations: 4 kB / 496.6 MB, free: 3.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001305/0.2844, allocations: 0.7976 MB / 497.4 MB, free: 2.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.2844, allocations: 55.41 kB / 497.5 MB, free: 2.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.2846, allocations: 174 kB / 497.7 MB, free: 2.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2846, allocations: 29.7 kB / 497.7 MB, free: 2.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.2847, allocations: 172.2 kB / 497.9 MB, free: 1.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.2848, allocations: 86.66 kB / 497.9 MB, free: 1.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.2848, allocations: 12 kB / 498 MB, free: 1.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.2849, allocations: 330.8 kB / 498.3 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2851, allocations: 76.53 kB / 498.4 MB, free: 1.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.2852, allocations: 103.3 kB / 498.5 MB, free: 1.293 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.2854, allocations: 80 kB / 498.5 MB, free: 1.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2854, allocations: 4 kB / 498.5 MB, free: 1.211 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005162/0.2859, allocations: 326.5 kB / 498.9 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2859, allocations: 8 kB / 498.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2859, allocations: 0 / 498.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/0.2862, allocations: 88.78 kB / 499 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.2864, allocations: 51.91 kB / 499 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.2885, allocations: 1.919 MB / 0.4892 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.2887, allocations: 12.09 kB / 0.4892 GB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.2887, allocations: 4 kB / 0.4892 GB, free: 14.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.2889, allocations: 145.7 kB / 0.4893 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.2889, allocations: 19.81 kB / 0.4894 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.289, allocations: 25.88 kB / 0.4894 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.289, allocations: 0 / 0.4894 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.289, allocations: 4.109 kB / 0.4894 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.289, allocations: 7.922 kB / 0.4894 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.2902, allocations: 0.7449 MB / 0.4901 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2902, allocations: 4 kB / 0.4901 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.2904, allocations: 39.97 kB / 0.4902 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002268/0.2907, allocations: 72.73 kB / 0.4902 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.2907, allocations: 4 kB / 0.4902 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.2924, allocations: 1.821 MB / 0.492 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2924, allocations: 4.062 kB / 0.492 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007237/0.2932, allocations: 463.9 kB / 0.4925 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.2933, allocations: 96.92 kB / 0.4925 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.2933, allocations: 23.88 kB / 0.4926 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2935, allocations: 12 kB / 0.4926 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.2936, allocations: 19.97 kB / 0.4926 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2936, allocations: 4 kB / 0.4926 GB, free: 10.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.2937, allocations: 143.2 kB / 0.4927 GB, free: 10.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2937, allocations: 0 / 0.4927 GB, free: 10.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.2943, allocations: 76 kB / 0.4928 GB, free: 10.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001042/0.2953, allocations: 1.006 MB / 0.4938 GB, free: 9.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007113/0.296, allocations: 366.4 kB / 0.4941 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.296, allocations: 0 / 0.4941 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.2965, allocations: 270.5 kB / 0.4944 GB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2968, allocations: 35.94 kB / 0.4944 GB, free: 8.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.2993, allocations: 1.932 MB / 0.4963 GB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.2996, allocations: 0.7791 MB / 0.4971 GB, free: 6.203 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.982e-05/0.2997, allocations: 14.3 kB / 0.4971 GB, free: 6.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2998, allocations: 83.41 kB / 0.4972 GB, free: 6.105 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2998, allocations: 0 / 0.4972 GB, free: 6.105 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.3171, allocations: 5.124 MB / 0.5022 GB, free: 1.164 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.3174, allocations: 209.7 kB / 0.5024 GB, free: 0.918 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.961, allocations: 0 / 0.5024 GB, free: 0.918 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat