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.001003/0.001003, allocations: 97.62 kB / 16.94 MB, free: 5.73 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.0009009/0.0009011, allocations: 186.4 kB / 17.83 MB, free: 5.352 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.472/1.472, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004555/0.0004559, allocations: 14.97 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09806/0.09853, allocations: 47.58 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003174/0.1018, allocations: 2.151 MB / 330.6 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1031, allocations: 0.6832 MB / 331.3 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1033, allocations: 11.94 kB / 331.3 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.912e-05/0.1033, allocations: 39.69 kB / 331.3 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.1036, allocations: 103.7 kB / 331.4 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1038, allocations: 63.91 kB / 331.5 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.1041, allocations: 227.5 kB / 331.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.1043, allocations: 85.69 kB / 331.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1045, allocations: 99.64 kB / 331.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.1047, allocations: 119.4 kB / 332 MB, free: 416 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.1047, allocations: 20 kB / 332 MB, free: 396 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.914e-05/0.1048, allocations: 19.94 kB / 332 MB, free: 376 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.1048, allocations: 51.81 kB / 332.1 MB, free: 324 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.1049, allocations: 69.58 kB / 332.2 MB, free: 248 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1051, allocations: 231.6 kB / 332.4 MB, free: 16 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1051, allocations: 0 / 332.4 MB, free: 16 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1052, allocations: 3.938 kB / 332.4 MB, free: 12 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1052, allocations: 0 / 332.4 MB, free: 12 kB / 270.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.001022/0.1062, allocations: 0.5457 MB / 332.9 MB, free: 15.42 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.1063, allocations: 12.03 kB / 332.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.777e-05/0.1064, allocations: 62.48 kB / 333 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.1064, allocations: 31.72 kB / 333 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1068, allocations: 254.5 kB / 333.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1068, allocations: 20.56 kB / 333.3 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.1069, allocations: 24 kB / 333.3 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.1073, allocations: 240.9 kB / 333.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1074, allocations: 3.938 kB / 333.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.1074, allocations: 8 kB / 333.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1074, allocations: 15.98 kB / 333.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.1079, allocations: 222.1 kB / 333.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.1095, allocations: 0.9369 MB / 334.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.11, allocations: 204.5 kB / 334.9 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1101, allocations: 4 kB / 335 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1101, allocations: 34.56 kB / 335 MB, free: 13.22 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.1101, allocations: 0 / 335 MB, free: 13.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001576/0.1117, allocations: 0.5851 MB / 335.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1117, allocations: 59.41 kB / 335.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.112, allocations: 225.6 kB / 335.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.112, allocations: 29.7 kB / 335.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1121, allocations: 175.9 kB / 336.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.1122, allocations: 63.02 kB / 336.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.1122, allocations: 4 kB / 336.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1124, allocations: 330.8 kB / 336.4 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1125, allocations: 71.91 kB / 336.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.1127, allocations: 121.9 kB / 336.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1129, allocations: 79.98 kB / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1129, allocations: 0 / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007332/0.1136, allocations: 366 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003072/0.1139, allocations: 0.6125 MB / 337.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.114, allocations: 4 kB / 337.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.1143, allocations: 76.75 kB / 337.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.1145, allocations: 47.91 kB / 337.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.1167, allocations: 1.842 MB / 339.6 MB, free: 8.266 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.1169, allocations: 35.67 kB / 339.7 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1169, allocations: 8 kB / 339.7 MB, free: 8.223 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.117, allocations: 6.812 kB / 339.7 MB, free: 8.219 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003332/0.1173, allocations: 216.3 kB / 339.9 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1173, allocations: 4 kB / 339.9 MB, free: 8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.043e-05/0.1174, allocations: 36.84 kB / 339.9 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.1176, allocations: 47.91 kB / 340 MB, free: 7.914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.1187, allocations: 1.55 MB / 341.5 MB, free: 6.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.1189, allocations: 15.84 kB / 341.6 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1189, allocations: 16.06 kB / 341.6 MB, free: 6.203 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.000169/0.1191, allocations: 217 kB / 341.8 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.1191, allocations: 19.72 kB / 341.8 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.1192, allocations: 33.86 kB / 341.8 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1192, allocations: 0 / 341.8 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1192, allocations: 0 / 341.8 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1192, allocations: 0 / 341.8 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.1195, allocations: 301.5 kB / 342.1 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1195, allocations: 0 / 342.1 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1197, allocations: 31.98 kB / 342.2 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.1199, allocations: 72.8 kB / 342.2 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1199, allocations: 8 kB / 342.2 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.1218, allocations: 1.768 MB / 344 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1218, allocations: 3.953 kB / 344 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007192/0.1225, allocations: 443.9 kB / 344.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.1226, allocations: 100.9 kB / 344.5 MB, free: 2.996 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1226, allocations: 4 kB / 344.5 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1228, allocations: 24.05 kB / 344.6 MB, free: 2.969 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.1229, allocations: 15.92 kB / 344.6 MB, free: 2.953 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1229, allocations: 4 kB / 344.6 MB, free: 2.949 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.123, allocations: 168.5 kB / 344.8 MB, free: 2.785 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.123, allocations: 0 / 344.8 MB, free: 2.785 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006066/0.1236, allocations: 127.7 kB / 344.9 MB, free: 2.66 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.001027/0.1247, allocations: 0.9706 MB / 345.9 MB, free: 1.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009537/0.1256, allocations: 0.5783 MB / 346.4 MB, free: 1.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1257, allocations: 0 / 346.4 MB, free: 1.059 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003065/0.126, allocations: 219.3 kB / 346.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1263, allocations: 40.5 kB / 346.7 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.1298, allocations: 2.768 MB / 349.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1302, allocations: 0.7561 MB / 350.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.1303, allocations: 25.94 kB / 350.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1305, allocations: 75.41 kB / 350.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of SimCode: time 9.61e-07/0.1305, allocations: 0 / 350.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.1502, allocations: 5.149 MB / 355.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.1504, allocations: 217.6 kB / 355.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/1.957, allocations: 7.875 kB / 355.7 MB, free: 7.668 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