Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 96.58 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 194.6 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.4 MB / 246 MB, free: 10.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002575/0.0002578, allocations: 8 kB / 306.8 MB, free: 1.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1168, allocations: 51.49 MB / 358.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003078/0.12, allocations: 2.294 MB / 360.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1214, allocations: 0.6704 MB / 361.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1215, allocations: 8 kB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.1217, allocations: 39.64 kB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1219, allocations: 75.44 kB / 361.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1222, allocations: 63.92 kB / 361.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.1225, allocations: 310.5 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.1228, allocations: 89.69 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.123, allocations: 107.6 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1232, allocations: 119.5 kB / 362.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.1232, allocations: 12 kB / 362.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.59e-05/0.1233, allocations: 16 kB / 362.1 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.1233, allocations: 51.77 kB / 362.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.1234, allocations: 73.52 kB / 362.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.1237, allocations: 231.6 kB / 362.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1237, allocations: 0 / 362.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1237, allocations: 0 / 362.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1237, allocations: 0 / 362.5 MB, free: 9.578 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009445/0.1246, allocations: 0.5523 MB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1247, allocations: 12.03 kB / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.205e-05/0.1248, allocations: 58.55 kB / 363.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.1248, allocations: 31.62 kB / 363.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1252, allocations: 258.6 kB / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.1252, allocations: 20.52 kB / 363.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.1252, allocations: 24 kB / 363.4 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.1258, allocations: 275.7 kB / 363.7 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1258, allocations: 0 / 363.7 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.1258, allocations: 15.94 kB / 363.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1258, allocations: 4 kB / 363.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.1263, allocations: 206.1 kB / 363.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.128, allocations: 1.023 MB / 364.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.1285, allocations: 186.6 kB / 365.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.1289, allocations: 165.1 kB / 365.3 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1289, allocations: 7.984 kB / 365.3 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.129, allocations: 34.47 kB / 365.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.129, allocations: 0 / 365.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001681/0.1307, allocations: 0.6005 MB / 365.9 MB, free: 5.895 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1307, allocations: 59.34 kB / 366 MB, free: 5.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.131, allocations: 229 kB / 366.2 MB, free: 5.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.131, allocations: 33.64 kB / 366.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1312, allocations: 175.8 kB / 366.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.1312, allocations: 59.11 kB / 366.4 MB, free: 5.309 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.1312, allocations: 8 kB / 366.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1314, allocations: 334.8 kB / 366.8 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.1316, allocations: 71.97 kB / 366.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.1318, allocations: 131 kB / 367 MB, free: 4.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.132, allocations: 84.92 kB / 367.1 MB, free: 4.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.132, allocations: 3.938 kB / 367.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007946/0.1328, allocations: 368.4 kB / 367.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1329, allocations: 8 kB / 367.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1329, allocations: 0 / 367.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/0.1333, allocations: 92.86 kB / 367.5 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.1335, allocations: 47.92 kB / 367.6 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.1363, allocations: 1.846 MB / 369.4 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1365, allocations: 31.8 kB / 369.4 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1365, allocations: 15.95 kB / 369.5 MB, free: 2.113 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.1367, allocations: 142.8 kB / 369.6 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.1367, allocations: 15.81 kB / 369.6 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.1368, allocations: 30.17 kB / 369.6 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1368, allocations: 0 / 369.6 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1368, allocations: 0 / 369.6 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1368, allocations: 0 / 369.6 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.138, allocations: 0.677 MB / 370.3 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.138, allocations: 0 / 370.3 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.1382, allocations: 27.98 kB / 370.3 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/0.1385, allocations: 88.92 kB / 370.4 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1385, allocations: 3.938 kB / 370.4 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2412/0.3797, allocations: 1.751 MB / 372.2 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3797, allocations: 0.9062 kB / 372.2 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3807, allocations: 482.8 kB / 372.7 MB, free: 18.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.3808, allocations: 98.47 kB / 372.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.3809, allocations: 4.906 kB / 372.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.3811, allocations: 23.23 kB / 372.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.3812, allocations: 11.5 kB / 372.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.3812, allocations: 6.844 kB / 372.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.3814, allocations: 171.8 kB / 373 MB, free: 17.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3814, allocations: 0 / 373 MB, free: 17.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000526/0.3819, allocations: 75.48 kB / 373 MB, free: 17.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.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 (13): * Single equations (assignments): 12 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/0.3831, allocations: 1.005 MB / 374.1 MB, free: 17.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008956/0.384, allocations: 383.2 kB / 374.4 MB, free: 17.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3841, allocations: 1.125 kB / 374.4 MB, free: 17.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.3843, allocations: 207.5 kB / 374.6 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.3848, allocations: 41.94 kB / 374.7 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.389, allocations: 1.961 MB / 376.6 MB, free: 16.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.3892, allocations: 0.7507 MB / 377.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.3893, allocations: 25.7 kB / 377.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.3894, allocations: 74.53 kB / 377.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3894, allocations: 2.734 kB / 377.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.4096, allocations: 4.821 MB / 382.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/0.4099, allocations: 226.7 kB / 382.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.265, allocations: 0 / 382.5 MB, free: 15.02 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat