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.001053/0.001053, allocations: 95.22 kB / 16.93 MB, free: 5.977 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.0009714/0.0009715, allocations: 179.9 kB / 17.82 MB, free: 5.652 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.245/1.245, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004245/0.0004245, allocations: 15.28 kB / 280.8 MB, free: 3.66 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.08162, allocations: 47.57 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002815/0.08449, allocations: 2.603 MB / 331 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.08624, allocations: 1.232 MB / 332.3 MB, free: 152 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.08639, allocations: 7.938 kB / 332.3 MB, free: 144 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.0867, allocations: 103.4 kB / 332.4 MB, free: 40 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006801/0.08738, allocations: 326.9 kB / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.08777, allocations: 199.5 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.0882, allocations: 311.3 kB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.08841, allocations: 123.1 kB / 333.3 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.08856, allocations: 131.5 kB / 333.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.08879, allocations: 175.3 kB / 333.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.08883, allocations: 20 kB / 333.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.08908, allocations: 123.8 kB / 333.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.08914, allocations: 63.75 kB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.517e-05/0.08923, allocations: 89.52 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.08964, allocations: 391.1 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.08966, allocations: 0 / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08967, allocations: 0 / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.08968, allocations: 0 / 334.3 MB, free: 14.12 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.001297/0.09098, allocations: 0.6902 MB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.09103, allocations: 8.031 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.209e-05/0.09112, allocations: 74.53 kB / 335 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.09167, allocations: 95.47 kB / 335.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.09207, allocations: 307.2 kB / 335.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.09211, allocations: 24.94 kB / 335.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.09217, allocations: 36 kB / 335.5 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005708/0.09275, allocations: 349.3 kB / 335.8 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.09277, allocations: 4 kB / 335.8 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.09281, allocations: 16 kB / 335.9 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.09283, allocations: 8 kB / 335.9 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.09334, allocations: 250.1 kB / 336.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.09523, allocations: 1.331 MB / 337.4 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.09561, allocations: 201.1 kB / 337.6 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008131/0.09644, allocations: 0.8752 MB / 338.5 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.09648, allocations: 38.56 kB / 338.6 MB, free: 9.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 3.116e-06/0.09649, allocations: 0 / 338.6 MB, free: 9.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005115/0.097, allocations: 233.3 kB / 338.8 MB, free: 9.262 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.09705, allocations: 89.05 kB / 338.9 MB, free: 9.156 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.0973, allocations: 278.9 kB / 339.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.09732, allocations: 25.7 kB / 339.2 MB, free: 8.848 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.09745, allocations: 247.5 kB / 339.4 MB, free: 8.602 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.09751, allocations: 59.17 kB / 339.5 MB, free: 8.543 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.09753, allocations: 4 kB / 339.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.09765, allocations: 342.8 kB / 339.8 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.0978, allocations: 68.61 kB / 339.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.098, allocations: 202.4 kB / 340.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.09819, allocations: 103.9 kB / 340.2 MB, free: 7.766 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.0982, allocations: 0 / 340.2 MB, free: 7.766 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004733/0.09868, allocations: 316.8 kB / 340.5 MB, free: 7.449 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.09871, allocations: 8 kB / 340.5 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.09872, allocations: 4.562 kB / 340.5 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.09875, allocations: 12 kB / 340.5 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.09902, allocations: 83.83 kB / 340.6 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.09904, allocations: 8 kB / 340.6 MB, free: 7.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.09923, allocations: 43.56 kB / 340.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.09926, allocations: 20 kB / 340.7 MB, free: 7.273 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.0001403/0.09941, allocations: 153.7 kB / 340.8 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.09948, allocations: 27.72 kB / 340.8 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.09953, allocations: 29.73 kB / 340.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.09954, allocations: 0 / 340.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.09955, allocations: 0 / 340.9 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.09957, allocations: 7.984 kB / 340.9 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.1002, allocations: 0.5224 MB / 341.4 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1002, allocations: 4.031 kB / 341.4 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.1004, allocations: 43.97 kB / 341.4 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.1004, allocations: 4 kB / 341.4 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1005, allocations: 7.938 kB / 341.4 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1005, allocations: 4 kB / 341.5 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1005, allocations: 3.953 kB / 341.5 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.101, allocations: 450.6 kB / 341.9 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.1011, allocations: 116.7 kB / 342 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.1011, allocations: 4 kB / 342 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.1013, allocations: 16 kB / 342 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.1014, allocations: 19.97 kB / 342 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1014, allocations: 4.312 kB / 342.1 MB, free: 5.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.1016, allocations: 194 kB / 342.2 MB, free: 5.562 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1016, allocations: 0 / 342.2 MB, free: 5.562 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004009/0.102, allocations: 83.84 kB / 342.3 MB, free: 5.48 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.0008261/0.1028, allocations: 1.133 MB / 343.5 MB, free: 4.312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.1032, allocations: 196.7 kB / 343.6 MB, free: 4.121 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1032, allocations: 0 / 343.6 MB, free: 4.121 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1034, allocations: 80.02 kB / 343.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.1037, allocations: 32.78 kB / 343.8 MB, free: 4.012 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.1069, allocations: 4.659 MB / 348.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1072, allocations: 0.7796 MB / 349.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.1073, allocations: 34.95 kB / 349.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.1074, allocations: 107.4 kB / 349.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1074, allocations: 0 / 349.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.1223, allocations: 4.879 MB / 354.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.1225, allocations: 219.5 kB / 354.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/1.732, allocations: 0 / 354.4 MB, free: 9.145 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