Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_3_2_3_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.001238/0.001238, allocations: 97.19 kB / 16.95 MB, free: 6.449 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.001853/0.001853, allocations: 183.9 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 224 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000554/0.0005544, allocations: 16 kB / 280.9 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1265, allocations: 47.58 MB / 328.5 MB, free: 3.961 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00355/0.1301, allocations: 2.266 MB / 330.7 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.132, allocations: 0.6713 MB / 331.4 MB, free: 1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.1323, allocations: 8 kB / 331.4 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.1325, allocations: 31.7 kB / 331.4 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.1328, allocations: 79.38 kB / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.1332, allocations: 67.92 kB / 331.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.1337, allocations: 314.6 kB / 331.9 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.134, allocations: 77.69 kB / 332 MB, free: 448 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.1343, allocations: 103.6 kB / 332.1 MB, free: 344 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.1346, allocations: 123.5 kB / 332.2 MB, free: 220 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.1347, allocations: 20 kB / 332.2 MB, free: 200 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.1348, allocations: 16 kB / 332.2 MB, free: 184 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.1348, allocations: 47.75 kB / 332.3 MB, free: 136 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1349, allocations: 73.58 kB / 332.3 MB, free: 56 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.1353, allocations: 231.7 kB / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1353, allocations: 0 / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1353, allocations: 0 / 332.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1354, allocations: 0 / 332.6 MB, free: 15.82 MB / 286.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.001376/0.1368, allocations: 0.5496 MB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.333e-05/0.1368, allocations: 12.03 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.137, allocations: 66.38 kB / 333.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1371, allocations: 31.72 kB / 333.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.1376, allocations: 254.5 kB / 333.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1376, allocations: 16.56 kB / 333.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-05/0.1377, allocations: 24 kB / 333.5 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.1383, allocations: 244.8 kB / 333.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1384, allocations: 0 / 333.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.1384, allocations: 12 kB / 333.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.1384, allocations: 12 kB / 333.8 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005432/0.139, allocations: 222.1 kB / 334 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.141, allocations: 0.9407 MB / 334.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.1415, allocations: 202.5 kB / 335.1 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.1419, allocations: 156.8 kB / 335.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.1419, allocations: 7.938 kB / 335.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.142, allocations: 30.56 kB / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.654e-06/0.142, allocations: 0 / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001661/0.1437, allocations: 0.6202 MB / 335.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.1437, allocations: 59.39 kB / 336 MB, free: 12.16 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.144, allocations: 221.6 kB / 336.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.144, allocations: 29.64 kB / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1442, allocations: 175.9 kB / 336.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.1442, allocations: 71 kB / 336.5 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.1443, allocations: 8 kB / 336.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002997/0.1446, allocations: 326.8 kB / 336.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.1447, allocations: 63.97 kB / 336.9 MB, free: 11.24 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.145, allocations: 118 kB / 337 MB, free: 11.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.1451, allocations: 75.98 kB / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1452, allocations: 4 kB / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008123/0.146, allocations: 362 kB / 337.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.1462, allocations: 138.3 kB / 337.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1462, allocations: 8.031 kB / 337.6 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.1466, allocations: 72.81 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.1468, allocations: 43.97 kB / 337.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.1493, allocations: 1.822 MB / 339.5 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.1495, allocations: 31.67 kB / 339.5 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1496, allocations: 8 kB / 339.5 MB, free: 8.379 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.1496, allocations: 4 kB / 339.5 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000352/0.1499, allocations: 216.4 kB / 339.8 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1499, allocations: 0 / 339.8 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001029/0.1501, allocations: 36.84 kB / 339.8 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1502, allocations: 55.91 kB / 339.8 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.1515, allocations: 1.538 MB / 341.4 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.1516, allocations: 19.88 kB / 341.4 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1517, allocations: 7.938 kB / 341.4 MB, free: 6.371 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.1519, allocations: 225 kB / 341.6 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.1519, allocations: 23.72 kB / 341.7 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.152, allocations: 25.86 kB / 341.7 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.152, allocations: 4 kB / 341.7 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.152, allocations: 0 / 341.7 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.152, allocations: 0 / 341.7 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.1531, allocations: 0.6461 MB / 342.3 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1531, allocations: 0 / 342.3 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.1533, allocations: 31.98 kB / 342.4 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000212/0.1535, allocations: 76.73 kB / 342.4 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.1535, allocations: 4 kB / 342.4 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/0.1555, allocations: 1.736 MB / 344.2 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.1556, allocations: 4.031 kB / 344.2 MB, free: 3.398 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.1563, allocations: 443.8 kB / 344.6 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.1564, allocations: 100.8 kB / 344.7 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1564, allocations: 4 kB / 344.7 MB, free: 2.824 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.1566, allocations: 28.05 kB / 344.7 MB, free: 2.797 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1566, allocations: 7.984 kB / 344.8 MB, free: 2.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1566, allocations: 4 kB / 344.8 MB, free: 2.785 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.1568, allocations: 168.5 kB / 344.9 MB, free: 2.621 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1568, allocations: 4 kB / 344.9 MB, free: 2.617 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006182/0.1575, allocations: 131.6 kB / 345.1 MB, free: 2.488 MB / 286.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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001132/0.1586, allocations: 0.9698 MB / 346 MB, free: 1.492 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.1597, allocations: 0.5633 MB / 346.6 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.1597, allocations: 4 kB / 346.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.16, allocations: 215.3 kB / 346.8 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.1605, allocations: 48.48 kB / 346.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.1642, allocations: 1.857 MB / 348.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1646, allocations: 0.7522 MB / 349.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.1648, allocations: 21.94 kB / 349.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.1649, allocations: 75.41 kB / 349.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1649, allocations: 0 / 349.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.1866, allocations: 5.177 MB / 354.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/0.1869, allocations: 230.8 kB / 355 MB, free: 8.398 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.25, allocations: 0 / 355 MB, free: 8.398 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat