Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0008905/0.0008904, allocations: 88.59 kB / 16.31 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 183.1 kB / 17.21 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.2 MB / 241.2 MB, free: 332 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 8 kB / 300.9 MB, free: 6.352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 50.42 MB / 351.3 MB, free: 3.926 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002945/0.1287, allocations: 2.274 MB / 353.6 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1299, allocations: 0.6431 MB / 354.3 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.13, allocations: 4 kB / 354.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1302, allocations: 39.69 kB / 354.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.1303, allocations: 67.45 kB / 354.4 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1306, allocations: 71.84 kB / 354.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.1309, allocations: 310.4 kB / 354.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.1311, allocations: 86.62 kB / 354.8 MB, free: 428 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.1313, allocations: 107.6 kB / 354.9 MB, free: 320 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1315, allocations: 119.5 kB / 355.1 MB, free: 200 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.1315, allocations: 16 kB / 355.1 MB, free: 184 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.723e-05/0.1316, allocations: 12 kB / 355.1 MB, free: 172 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.1316, allocations: 51.77 kB / 355.1 MB, free: 120 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.552e-05/0.1317, allocations: 69.58 kB / 355.2 MB, free: 44 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.132, allocations: 231.7 kB / 355.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.132, allocations: 4 kB / 355.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.132, allocations: 0 / 355.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.132, allocations: 0 / 355.4 MB, free: 15.81 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.0009091/0.1329, allocations: 0.5496 MB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.133, allocations: 8.031 kB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.264e-05/0.1331, allocations: 66.53 kB / 356.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.1331, allocations: 31.62 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1335, allocations: 250.5 kB / 356.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1335, allocations: 16.56 kB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.1335, allocations: 24 kB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.1341, allocations: 283.7 kB / 356.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1341, allocations: 3.938 kB / 356.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.1341, allocations: 11.95 kB / 356.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1342, allocations: 4 kB / 356.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.1346, allocations: 214.1 kB / 356.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.1363, allocations: 1.019 MB / 357.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.1369, allocations: 186.6 kB / 358.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.1373, allocations: 165.1 kB / 358.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1373, allocations: 0 / 358.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.1373, allocations: 50.41 kB / 358.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.524e-06/0.1373, allocations: 0 / 358.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001729/0.1391, allocations: 0.5916 MB / 358.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.1391, allocations: 59.34 kB / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1394, allocations: 221 kB / 359.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1394, allocations: 29.7 kB / 359.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1396, allocations: 183.8 kB / 359.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.1396, allocations: 63.09 kB / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.1397, allocations: 8 kB / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1398, allocations: 330.8 kB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.14, allocations: 79.89 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1402, allocations: 127 kB / 360 MB, free: 10.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.1404, allocations: 92.05 kB / 360 MB, free: 10.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1405, allocations: 0 / 360 MB, free: 10.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007814/0.1412, allocations: 368.5 kB / 360.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1413, allocations: 8 kB / 360.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1413, allocations: 7.984 kB / 360.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/0.1417, allocations: 80.75 kB / 360.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.1419, allocations: 59.91 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002743/0.1447, allocations: 1.854 MB / 362.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.1449, allocations: 31.77 kB / 362.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.1449, allocations: 8 kB / 362.4 MB, free: 8.348 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.0001886/0.1451, allocations: 142.2 kB / 362.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.1452, allocations: 23.77 kB / 362.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.1452, allocations: 26.17 kB / 362.6 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1452, allocations: 4.062 kB / 362.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1452, allocations: 0 / 362.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1453, allocations: 4 kB / 362.6 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.1464, allocations: 0.6552 MB / 363.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1464, allocations: 0 / 363.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1466, allocations: 39.97 kB / 363.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002677/0.1469, allocations: 76.75 kB / 363.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1469, allocations: 11.98 kB / 363.4 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.1491, allocations: 1.764 MB / 365.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1492, allocations: 64 / 365.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/0.1501, allocations: 478.3 kB / 365.7 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.1502, allocations: 100.9 kB / 365.8 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1502, allocations: 3.984 kB / 365.8 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.1504, allocations: 24.08 kB / 365.8 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.1504, allocations: 11.97 kB / 365.8 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1505, allocations: 7.953 kB / 365.8 MB, free: 4.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1507, allocations: 168.5 kB / 366 MB, free: 4.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1507, allocations: 4 kB / 366 MB, free: 4.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.1511, allocations: 79.75 kB / 366 MB, free: 4.516 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.00134/0.1525, allocations: 0.998 MB / 367 MB, free: 3.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000919/0.1534, allocations: 386.5 kB / 367.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1534, allocations: 3.938 kB / 367.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.1538, allocations: 214.5 kB / 367.6 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.1542, allocations: 50.05 kB / 367.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.1582, allocations: 1.941 MB / 369.6 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1586, allocations: 0.7521 MB / 370.4 MB, free: 20 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.1587, allocations: 21.94 kB / 370.4 MB, free: 0 / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2032/0.3619, allocations: 66.64 kB / 370.5 MB, free: 23.92 MB / 302.1 MB Notification: Performance of SimCode: time 2.144e-06/0.3619, allocations: 0 / 370.5 MB, free: 23.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.3842, allocations: 4.809 MB / 375.3 MB, free: 23.7 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.3845, allocations: 224.8 kB / 375.5 MB, free: 23.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.283, allocations: 3.938 kB / 375.5 MB, free: 23.46 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat