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.001039/0.001039, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008465/0.0008465, allocations: 108.2 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002065/0.0002067, allocations: 4 kB / 358 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1809, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08985/0.2708, allocations: 83.36 MB / 492.9 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.271, allocations: 79.95 kB / 492.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02524/0.2963, allocations: 10.75 MB / 0.4919 GB, free: 12.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2963, allocations: 0 / 0.4919 GB, free: 12.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.2963, allocations: 8 kB / 0.4919 GB, free: 12.3 MB / 378.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.001145/0.2975, allocations: 0.6949 MB / 0.4926 GB, free: 11.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2975, allocations: 8.031 kB / 0.4926 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.878e-05/0.2976, allocations: 70.53 kB / 0.4926 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006013/0.2982, allocations: 111.5 kB / 0.4927 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.2986, allocations: 303.4 kB / 0.493 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2986, allocations: 29 kB / 0.4931 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.2987, allocations: 32 kB / 0.4931 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.2992, allocations: 357.3 kB / 0.4934 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2992, allocations: 0 / 0.4934 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.2993, allocations: 12 kB / 0.4934 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2993, allocations: 11.98 kB / 0.4935 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.2997, allocations: 250.1 kB / 0.4937 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.3016, allocations: 1.343 MB / 0.495 GB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.3019, allocations: 193.8 kB / 0.4952 GB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008552/0.3028, allocations: 1.196 MB / 0.4964 GB, free: 7.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3028, allocations: 46.5 kB / 0.4964 GB, free: 7.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.3028, allocations: 0 / 0.4964 GB, free: 7.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004925/0.3033, allocations: 236.2 kB / 0.4966 GB, free: 7.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.3034, allocations: 85.05 kB / 0.4967 GB, free: 6.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.3036, allocations: 250.1 kB / 0.4969 GB, free: 6.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3036, allocations: 25.7 kB / 0.497 GB, free: 6.648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.3038, allocations: 247.4 kB / 0.4972 GB, free: 6.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.3038, allocations: 55.2 kB / 0.4973 GB, free: 6.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.3038, allocations: 8 kB / 0.4973 GB, free: 6.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.304, allocations: 342.7 kB / 0.4976 GB, free: 5.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3041, allocations: 72.62 kB / 0.4977 GB, free: 5.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.3043, allocations: 206.3 kB / 0.4979 GB, free: 5.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.3045, allocations: 107.5 kB / 0.498 GB, free: 5.559 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3045, allocations: 4 kB / 0.498 GB, free: 5.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004786/0.305, allocations: 317.2 kB / 0.4983 GB, free: 5.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.305, allocations: 8 kB / 0.4983 GB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.305, allocations: 7.984 kB / 0.4983 GB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3051, allocations: 8 kB / 0.4983 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.3053, allocations: 79.84 kB / 0.4984 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3053, allocations: 11.94 kB / 0.4984 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.3055, allocations: 39.91 kB / 0.4984 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3056, allocations: 16 kB / 0.4984 GB, free: 5.07 MB / 378.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 () * 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.0001269/0.3057, allocations: 159.9 kB / 0.4986 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.3058, allocations: 27.72 kB / 0.4986 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.3058, allocations: 25.73 kB / 0.4986 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3058, allocations: 4 kB / 0.4986 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3058, allocations: 0 / 0.4986 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3059, allocations: 7.938 kB / 0.4986 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.3065, allocations: 0.5108 MB / 0.4991 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3065, allocations: 0 / 0.4991 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.3067, allocations: 43.97 kB / 0.4992 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3067, allocations: 4 kB / 0.4992 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3067, allocations: 8.031 kB / 0.4992 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3067, allocations: 3.953 kB / 0.4992 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3067, allocations: 7.938 kB / 0.4992 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.3072, allocations: 458.5 kB / 0.4996 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.3073, allocations: 104.8 kB / 0.4997 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.3073, allocations: 4 kB / 0.4998 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.3076, allocations: 20.05 kB / 0.4998 GB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.3076, allocations: 12.3 kB / 0.4998 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.3076, allocations: 8 kB / 0.4998 GB, free: 3.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.3078, allocations: 194 kB / 0.5 GB, free: 3.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3078, allocations: 0 / 0.5 GB, free: 3.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003941/0.3082, allocations: 87.69 kB / 0.5001 GB, free: 3.285 MB / 378.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 () * 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.0007853/0.309, allocations: 1.152 MB / 0.5012 GB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003389/0.3093, allocations: 195.7 kB / 0.5014 GB, free: 1.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3093, allocations: 1.125 kB / 0.5014 GB, free: 1.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.3095, allocations: 79.97 kB / 0.5014 GB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3097, allocations: 31.81 kB / 0.5015 GB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1545/0.4643, allocations: 4.658 MB / 0.506 GB, free: 89.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.4645, allocations: 0.7835 MB / 0.5068 GB, free: 88.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.4647, allocations: 29.89 kB / 0.5068 GB, free: 88.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.4648, allocations: 110.5 kB / 0.5069 GB, free: 88.63 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4649, allocations: 0.875 kB / 0.5069 GB, free: 88.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.481, allocations: 5.079 MB / 0.5119 GB, free: 88.43 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/0.4812, allocations: 205.8 kB / 0.5121 GB, free: 88.19 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/2.308, allocations: 4 kB / 0.5121 GB, free: 88.18 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