Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 192.5 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, 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.001207/0.001207, allocations: 89.06 kB / 292.1 MB, free: 5.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.488e-05, allocations: 4 kB / 350.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09481, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3073/0.4022, allocations: 82.25 MB / 484.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4025, allocations: 81.17 kB / 484.5 MB, free: 7.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0159/0.4184, allocations: 6.366 MB / 490.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4184, allocations: 0 / 490.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.4185, allocations: 7.938 kB / 490.8 MB, free: 1.852 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008544/0.4193, allocations: 0.5912 MB / 491.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4194, allocations: 12.03 kB / 491.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.234e-05/0.4194, allocations: 59.09 kB / 491.5 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.877e-05/0.4195, allocations: 32.48 kB / 491.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.4198, allocations: 285.9 kB / 491.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4199, allocations: 23.12 kB / 491.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.4199, allocations: 23.06 kB / 491.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.4203, allocations: 264 kB / 492.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4203, allocations: 4 kB / 492.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.4204, allocations: 10.88 kB / 492.1 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4204, allocations: 4 kB / 492.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.4207, allocations: 184 kB / 492.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.4225, allocations: 1.211 MB / 493.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.4229, allocations: 143 kB / 493.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.423, allocations: 62.53 kB / 493.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.423, allocations: 0 / 493.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.4232, allocations: 128.2 kB / 493.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.4232, allocations: 4 kB / 493.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005791/0.4238, allocations: 220.8 kB / 494.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4239, allocations: 81.11 kB / 494.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.4242, allocations: 242 kB / 494.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4242, allocations: 29.7 kB / 494.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4243, allocations: 183.6 kB / 494.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.4244, allocations: 43.45 kB / 494.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.4244, allocations: 7.938 kB / 494.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4245, allocations: 330.8 kB / 495 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.4246, allocations: 56.89 kB / 495 MB, free: 14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.4248, allocations: 151.1 kB / 495.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.4249, allocations: 98.56 kB / 495.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4249, allocations: 0 / 495.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006826/0.4256, allocations: 345.2 kB / 495.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.4257, allocations: 43.22 kB / 495.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4257, allocations: 0 / 495.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.4259, allocations: 37.97 kB / 495.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.4261, allocations: 59.89 kB / 495.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.4274, allocations: 1.375 MB / 497.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.4277, allocations: 63.75 kB / 497.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.4278, allocations: 15.98 kB / 497.2 MB, free: 11.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.658e-05/0.4279, allocations: 119.5 kB / 497.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.4279, allocations: 27.67 kB / 497.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.428, allocations: 25.83 kB / 497.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.428, allocations: 4 kB / 497.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.428, allocations: 0 / 497.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.428, allocations: 4 kB / 497.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.4283, allocations: 313.4 kB / 497.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4284, allocations: 0 / 497.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.4286, allocations: 39.97 kB / 497.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-05/0.4287, allocations: 36.72 kB / 497.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4287, allocations: 7.953 kB / 497.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.4298, allocations: 1.359 MB / 499.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4298, allocations: 2.266 kB / 499.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.4304, allocations: 310.3 kB / 499.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/0.4305, allocations: 100.8 kB / 499.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.4306, allocations: 2.875 kB / 499.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.4308, allocations: 48.02 kB / 499.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.4309, allocations: 19.97 kB / 499.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.4309, allocations: 1.969 kB / 499.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.4311, allocations: 183.1 kB / 499.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4311, allocations: 3.938 kB / 499.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003183/0.4314, allocations: 75.84 kB / 499.8 MB, free: 8.762 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009407/0.4324, allocations: 0.8578 MB / 0.489 GB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.4328, allocations: 319.8 kB / 0.4893 GB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.4329, allocations: 4 kB / 0.4893 GB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.4331, allocations: 167.3 kB / 0.4894 GB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.4333, allocations: 47.28 kB / 0.4895 GB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.435, allocations: 0.5742 MB / 0.49 GB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.4353, allocations: 0.7599 MB / 0.4908 GB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.4354, allocations: 26.06 kB / 0.4908 GB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4356, allocations: 83.34 kB / 0.4909 GB, free: 5.812 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4356, allocations: 0 / 0.4909 GB, free: 5.812 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.454, allocations: 5.48 MB / 0.4962 GB, free: 0.5977 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.4542, allocations: 194.7 kB / 0.4964 GB, free: 376 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.205, allocations: 0 / 0.4964 GB, free: 376 kB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat does not exist to compare? outputFormat=mat