Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009226/0.0009224, allocations: 93.53 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.37e-05/4.381e-05, allocations: 3.984 kB / 350.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 51.48 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/0.4701, allocations: 83.29 MB / 485.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.4704, allocations: 75.16 kB / 485.5 MB, free: 6.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02489/0.4953, allocations: 10.73 MB / 496.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4953, allocations: 0 / 496.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.477e-05/0.4953, allocations: 8 kB / 496.2 MB, free: 13.01 MB / 362.7 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.001174/0.4965, allocations: 0.6499 MB / 496.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4966, allocations: 8.031 kB / 496.9 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.043e-05/0.4967, allocations: 76.12 kB / 497 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000614/0.4973, allocations: 103.5 kB / 497.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004537/0.4978, allocations: 307.7 kB / 497.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.4978, allocations: 24.78 kB / 497.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.4979, allocations: 36 kB / 497.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.4984, allocations: 330.6 kB / 497.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4985, allocations: 0 / 497.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.4985, allocations: 12 kB / 497.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4985, allocations: 12.05 kB / 497.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.4989, allocations: 222.2 kB / 498 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.501, allocations: 1.376 MB / 499.4 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.5013, allocations: 165.2 kB / 499.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.5014, allocations: 77.72 kB / 499.6 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.5025, allocations: 1.21 MB / 0.4891 GB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5025, allocations: 42.56 kB / 0.4891 GB, free: 7.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.5025, allocations: 0 / 0.4891 GB, free: 7.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000318/0.5028, allocations: 133.3 kB / 0.4892 GB, free: 7.852 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.5029, allocations: 81.05 kB / 0.4893 GB, free: 7.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.5031, allocations: 251.3 kB / 0.4895 GB, free: 7.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.5032, allocations: 29.7 kB / 0.4896 GB, free: 7.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.5033, allocations: 239.1 kB / 0.4898 GB, free: 7.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.5034, allocations: 51.3 kB / 0.4899 GB, free: 7.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.5034, allocations: 8 kB / 0.4899 GB, free: 7.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5035, allocations: 338.8 kB / 0.4902 GB, free: 6.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.114e-05/0.5036, allocations: 47.98 kB / 0.4902 GB, free: 6.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.5038, allocations: 177.2 kB / 0.4904 GB, free: 6.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.504, allocations: 80.41 kB / 0.4905 GB, free: 6.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.504, allocations: 0 / 0.4905 GB, free: 6.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004076/0.5044, allocations: 272.7 kB / 0.4907 GB, free: 6.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5044, allocations: 8.062 kB / 0.4907 GB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5044, allocations: 7.953 kB / 0.4908 GB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.5045, allocations: 8 kB / 0.4908 GB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.5047, allocations: 75.89 kB / 0.4908 GB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.5048, allocations: 7.938 kB / 0.4908 GB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.505, allocations: 35.69 kB / 0.4909 GB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.505, allocations: 19.98 kB / 0.4909 GB, free: 6.039 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 9.777e-05/0.5051, allocations: 124.9 kB / 0.491 GB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.5052, allocations: 23.72 kB / 0.491 GB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.5052, allocations: 29.86 kB / 0.4911 GB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5052, allocations: 5.172 kB / 0.4911 GB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5053, allocations: 4 kB / 0.4911 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5053, allocations: 0 / 0.4911 GB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.5059, allocations: 499.1 kB / 0.4915 GB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5059, allocations: 4.359 kB / 0.4916 GB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.5061, allocations: 35.98 kB / 0.4916 GB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.5062, allocations: 3.953 kB / 0.4916 GB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5062, allocations: 11.86 kB / 0.4916 GB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5062, allocations: 4 kB / 0.4916 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5062, allocations: 0 / 0.4916 GB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.5066, allocations: 382.8 kB / 0.492 GB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.5067, allocations: 108.7 kB / 0.4921 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.5067, allocations: 4 kB / 0.4921 GB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.5069, allocations: 18.42 kB / 0.4921 GB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.507, allocations: 16.05 kB / 0.4921 GB, free: 4.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.507, allocations: 7.938 kB / 0.4921 GB, free: 4.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.5072, allocations: 191.1 kB / 0.4923 GB, free: 4.484 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5072, allocations: 4 kB / 0.4923 GB, free: 4.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004006/0.5076, allocations: 75.97 kB / 0.4924 GB, free: 4.406 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0008602/0.5085, allocations: 1.103 MB / 0.4935 GB, free: 3.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.5088, allocations: 139.8 kB / 0.4936 GB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5088, allocations: 1.125 kB / 0.4936 GB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.5089, allocations: 47.94 kB / 0.4936 GB, free: 3.086 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.5091, allocations: 32.28 kB / 0.4937 GB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.5103, allocations: 0.5059 MB / 0.4942 GB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.5107, allocations: 0.7833 MB / 0.4949 GB, free: 1.699 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.5109, allocations: 34.05 kB / 0.495 GB, free: 1.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.511, allocations: 99.41 kB / 0.495 GB, free: 1.57 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.511, allocations: 0 / 0.495 GB, free: 1.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.5305, allocations: 5.026 MB / 0.5 GB, free: 12.78 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.5308, allocations: 183.9 kB / 0.5001 GB, free: 12.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.56, allocations: 4 kB / 0.5001 GB, free: 12.55 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat