Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.001121, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007606/0.0007606, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.623e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.08559, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2891/0.3748, allocations: 77.04 MB / 447.2 MB, free: 208 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.375, allocations: 66.59 kB / 447.2 MB, free: 176 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01189/0.3869, allocations: 4.692 MB / 451.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3869, allocations: 0 / 451.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.387, allocations: 4 kB / 451.9 MB, free: 12.19 MB / 330.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.0006268/0.3876, allocations: 0.5297 MB / 452.4 MB, free: 11.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3877, allocations: 8.031 kB / 452.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.245e-05/0.3877, allocations: 64.41 kB / 452.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.3878, allocations: 35.62 kB / 452.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.3881, allocations: 245 kB / 452.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3881, allocations: 23.31 kB / 452.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.3881, allocations: 22.62 kB / 452.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.3885, allocations: 245.2 kB / 453.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3885, allocations: 0 / 453.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.3886, allocations: 11.31 kB / 453.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3886, allocations: 8 kB / 453.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.3888, allocations: 172.5 kB / 453.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.3902, allocations: 1.018 MB / 454.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.3906, allocations: 321.7 kB / 454.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.3909, allocations: 192.3 kB / 454.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3909, allocations: 192 / 454.8 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.3909, allocations: 41.75 kB / 454.8 MB, free: 9.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.3909, allocations: 0 / 454.8 MB, free: 9.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001124/0.3921, allocations: 0.7014 MB / 455.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.3921, allocations: 55.39 kB / 455.6 MB, free: 8.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3923, allocations: 168.9 kB / 455.7 MB, free: 8.711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3923, allocations: 36.89 kB / 455.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.3924, allocations: 172.3 kB / 455.9 MB, free: 8.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.3925, allocations: 95.27 kB / 456 MB, free: 8.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.3925, allocations: 3.188 kB / 456 MB, free: 8.441 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3926, allocations: 332.2 kB / 456.4 MB, free: 8.117 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3927, allocations: 62.69 kB / 456.4 MB, free: 8.078 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3928, allocations: 87.02 kB / 456.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.3929, allocations: 87.62 kB / 456.6 MB, free: 7.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3929, allocations: 3.938 kB / 456.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004481/0.3934, allocations: 305.5 kB / 456.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3934, allocations: 4 kB / 456.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3934, allocations: 0 / 456.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/0.3937, allocations: 92.84 kB / 457 MB, free: 7.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3939, allocations: 43.92 kB / 457 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.3957, allocations: 1.881 MB / 458.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3958, allocations: 11.97 kB / 458.9 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3958, allocations: 16.02 kB / 458.9 MB, free: 5.469 MB / 330.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 () * 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 8.49e-05/0.3959, allocations: 117 kB / 459.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.396, allocations: 23.72 kB / 459.1 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.574e-05/0.396, allocations: 25.66 kB / 459.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3961, allocations: 0 / 459.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.3961, allocations: 4 kB / 459.1 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3961, allocations: 3.984 kB / 459.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009898/0.3971, allocations: 0.7255 MB / 459.8 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3971, allocations: 4 kB / 459.8 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.3973, allocations: 35.92 kB / 459.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.3975, allocations: 80.83 kB / 460 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3975, allocations: 4 kB / 460 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.399, allocations: 1.788 MB / 461.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.399, allocations: 4 kB / 461.8 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.3996, allocations: 439.9 kB / 462.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.3996, allocations: 96.94 kB / 462.3 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.3997, allocations: 4 kB / 462.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3998, allocations: 19.98 kB / 462.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.3999, allocations: 23.97 kB / 462.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3999, allocations: 8 kB / 462.3 MB, free: 1.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.4, allocations: 136.3 kB / 462.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4, allocations: 4 kB / 462.5 MB, free: 1.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003932/0.4004, allocations: 80 kB / 462.6 MB, free: 1.625 MB / 330.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 () * 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.0008222/0.4013, allocations: 0.9792 MB / 463.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005671/0.4018, allocations: 346.5 kB / 463.9 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4019, allocations: 0 / 463.9 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.4022, allocations: 254.4 kB / 464.1 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.4025, allocations: 36.2 kB / 464.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.4037, allocations: 0.6978 MB / 464.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.404, allocations: 0.7713 MB / 465.6 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.799e-05/0.4041, allocations: 22.05 kB / 465.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4042, allocations: 87.36 kB / 465.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4042, allocations: 0 / 465.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.421, allocations: 5.119 MB / 470.8 MB, free: 9.211 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.4213, allocations: 180.4 kB / 471 MB, free: 8.984 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.089, allocations: 0 / 471 MB, free: 8.984 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat