Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",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.0009886/0.0009886, allocations: 96.02 kB / 16.95 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.0008911/0.0008915, allocations: 182.7 kB / 17.84 MB, free: 6.008 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.673/1.673, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004768/0.0004769, allocations: 11.98 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 47.58 MB / 328.4 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003663/0.1112, allocations: 2.75 MB / 331.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.1134, allocations: 1.22 MB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.1136, allocations: 8 kB / 332.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.114, allocations: 107.4 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000808/0.1148, allocations: 298.6 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.1153, allocations: 207.4 kB / 333 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005728/0.1159, allocations: 406.2 kB / 333.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.1161, allocations: 119.1 kB / 333.5 MB, free: 14.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1163, allocations: 139.4 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.1166, allocations: 175.2 kB / 333.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.1166, allocations: 20 kB / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.1169, allocations: 139.9 kB / 334 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.117, allocations: 59.69 kB / 334.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.85e-05/0.1171, allocations: 97.52 kB / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.1175, allocations: 395.1 kB / 334.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1175, allocations: 0 / 334.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.1176, allocations: 0 / 334.5 MB, free: 13.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.1176, allocations: 0 / 334.5 MB, free: 13.84 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001451/0.119, allocations: 0.6902 MB / 335.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1191, allocations: 8.031 kB / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.86e-05/0.1192, allocations: 70.53 kB / 335.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/0.1198, allocations: 99.47 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.1202, allocations: 303.2 kB / 335.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.1203, allocations: 25 kB / 335.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.1203, allocations: 36 kB / 335.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.121, allocations: 349.3 kB / 336.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.121, allocations: 0 / 336.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.26e-05/0.1211, allocations: 20 kB / 336.1 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.1211, allocations: 23.84 kB / 336.1 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004887/0.1216, allocations: 246.1 kB / 336.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.1238, allocations: 1.327 MB / 337.7 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.1242, allocations: 205.1 kB / 337.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.1244, allocations: 97.67 kB / 338 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008431/0.1252, allocations: 0.8713 MB / 338.9 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1253, allocations: 30.56 kB / 338.9 MB, free: 9.121 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.973e-06/0.1253, allocations: 0 / 338.9 MB, free: 9.121 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005555/0.1258, allocations: 237.3 kB / 339.1 MB, free: 8.883 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.1259, allocations: 81.05 kB / 339.2 MB, free: 8.785 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.1262, allocations: 286.9 kB / 339.5 MB, free: 8.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1262, allocations: 33.7 kB / 339.5 MB, free: 8.461 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1264, allocations: 231.5 kB / 339.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.1264, allocations: 67.09 kB / 339.8 MB, free: 8.164 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.1264, allocations: 11.94 kB / 339.8 MB, free: 8.152 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1266, allocations: 334.8 kB / 340.2 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1267, allocations: 68.62 kB / 340.2 MB, free: 7.746 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.1269, allocations: 206.4 kB / 340.4 MB, free: 7.484 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.1271, allocations: 99.91 kB / 340.5 MB, free: 7.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1271, allocations: 0 / 340.5 MB, free: 7.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005018/0.1277, allocations: 329.3 kB / 340.8 MB, free: 7.059 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1277, allocations: 8 kB / 340.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1277, allocations: 8 kB / 340.9 MB, free: 7.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.1277, allocations: 8 kB / 340.9 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.128, allocations: 87.83 kB / 341 MB, free: 6.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.128, allocations: 7.953 kB / 341 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.1282, allocations: 35.69 kB / 341 MB, free: 6.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.1282, allocations: 16 kB / 341 MB, free: 6.891 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.1284, allocations: 157.8 kB / 341.2 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.1285, allocations: 27.66 kB / 341.2 MB, free: 6.699 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.1286, allocations: 33.67 kB / 341.2 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1286, allocations: 0 / 341.2 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1286, allocations: 0 / 341.2 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1286, allocations: 7.953 kB / 341.2 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006781/0.1293, allocations: 0.5147 MB / 341.8 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1293, allocations: 0 / 341.8 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.1295, allocations: 43.97 kB / 341.8 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.1295, allocations: 4 kB / 341.8 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1295, allocations: 4 kB / 341.8 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1295, allocations: 7.953 kB / 341.8 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1295, allocations: 3.984 kB / 341.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.1301, allocations: 423.2 kB / 342.2 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.1301, allocations: 116.8 kB / 342.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.1302, allocations: 320 / 342.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.1304, allocations: 23.94 kB / 342.4 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.1305, allocations: 7.984 kB / 342.4 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1305, allocations: 12 kB / 342.4 MB, free: 5.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.1307, allocations: 194 kB / 342.6 MB, free: 5.223 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1307, allocations: 0 / 342.6 MB, free: 5.223 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.1311, allocations: 83.84 kB / 342.7 MB, free: 5.141 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008078/0.1319, allocations: 0.9698 MB / 343.6 MB, free: 4.141 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.1323, allocations: 198.7 kB / 343.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1323, allocations: 0 / 343.8 MB, free: 3.949 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1325, allocations: 77.03 kB / 343.9 MB, free: 3.875 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.1329, allocations: 44.7 kB / 343.9 MB, free: 3.832 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.1357, allocations: 1.794 MB / 345.7 MB, free: 1.926 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1361, allocations: 0.7757 MB / 346.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.1362, allocations: 30.97 kB / 346.5 MB, free: 1.094 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1364, allocations: 107.4 kB / 346.6 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1364, allocations: 0 / 346.6 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.1533, allocations: 4.91 MB / 351.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.1536, allocations: 217.5 kB / 351.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.059, allocations: 0 / 351.8 MB, free: 11.84 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat