Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001744/0.001744, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009904/0.0009905, allocations: 101.1 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.563e-05/1.574e-05, allocations: 0 / 343.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 51.48 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4634, allocations: 96.36 MB / 491.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.4637, allocations: 86.2 kB / 491.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.205/1.669, allocations: 329.6 MB / 0.8021 GB, free: 69.29 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.218e-06/1.669, allocations: 0 / 0.8021 GB, free: 69.29 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009187/1.67, allocations: 184 kB / 0.8022 GB, free: 69.28 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.04323/1.713, allocations: 9.612 MB / 0.8116 GB, free: 66.81 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/1.713, allocations: 7.375 kB / 0.8116 GB, free: 66.81 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0313/1.745, allocations: 5.516 MB / 0.817 GB, free: 66.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01812/1.763, allocations: 6.329 MB / 0.8232 GB, free: 65.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000683/1.764, allocations: 271.2 kB / 0.8235 GB, free: 65.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004702/1.768, allocations: 480 kB / 0.8239 GB, free: 65.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03367/1.802, allocations: 13.2 MB / 0.8368 GB, free: 63.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0473/1.849, allocations: 14.14 MB / 0.8506 GB, free: 58.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005729/1.85, allocations: 18.08 kB / 0.8506 GB, free: 58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004526/1.855, allocations: 3.781 kB / 0.8506 GB, free: 58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001299/1.856, allocations: 0.8235 MB / 0.8514 GB, free: 57.78 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1047/1.961, allocations: 48.18 MB / 0.8985 GB, free: 18.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4454/2.406, allocations: 19.44 MB / 0.9175 GB, free: 60.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006216/2.412, allocations: 3.628 MB / 0.921 GB, free: 60.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005611/2.413, allocations: 261.8 kB / 0.9213 GB, free: 60.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/2.413, allocations: 82.78 kB / 0.9213 GB, free: 60.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 7.004e-06/2.413, allocations: 0 / 0.9213 GB, free: 60.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.02175/2.435, allocations: 9.042 MB / 0.9302 GB, free: 60.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/2.435, allocations: 132.1 kB / 0.9303 GB, free: 60.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005834/2.441, allocations: 3.236 MB / 0.9335 GB, free: 59.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001076/2.442, allocations: 28.67 kB / 0.9335 GB, free: 59.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002549/2.445, allocations: 3.886 MB / 0.9373 GB, free: 58.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002549/2.447, allocations: 1.542 MB / 0.9388 GB, free: 57.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005664/2.448, allocations: 0 / 0.9388 GB, free: 57.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005571/2.448, allocations: 0.615 MB / 0.9394 GB, free: 56.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005588/2.454, allocations: 3.691 MB / 0.943 GB, free: 56.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007319/2.461, allocations: 6.455 MB / 0.9493 GB, free: 53.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01821/2.479, allocations: 7.091 MB / 0.9562 GB, free: 53.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002113/2.48, allocations: 30.12 kB / 0.9562 GB, free: 53.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.03758/2.517, allocations: 13.26 MB / 0.9692 GB, free: 52.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000185/2.518, allocations: 45.81 kB / 0.9692 GB, free: 52.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003038/2.518, allocations: 94.09 kB / 0.9693 GB, free: 52.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006663/2.525, allocations: 1.593 MB / 0.9709 GB, free: 52.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008448/2.533, allocations: 1.73 MB / 0.9726 GB, free: 52.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/2.55, allocations: 15.64 MB / 0.9878 GB, free: 44.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008308/2.558, allocations: 0.863 MB / 0.9887 GB, free: 44.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002008/2.56, allocations: 359.9 kB / 0.989 GB, free: 44.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001473/2.562, allocations: 356.1 kB / 0.9894 GB, free: 44.14 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02056/2.582, allocations: 9.048 MB / 0.9982 GB, free: 42.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/2.584, allocations: 388.1 kB / 0.9986 GB, free: 42.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02346/2.607, allocations: 10.29 MB / 1.009 GB, free: 38.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.974e-05/2.608, allocations: 47.94 kB / 1.009 GB, free: 38.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.38e-05/2.608, allocations: 13.19 kB / 1.009 GB, free: 38.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.446e-05/2.608, allocations: 23.25 kB / 1.009 GB, free: 38.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03889/2.647, allocations: 17.69 MB / 1.026 GB, free: 32.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/2.647, allocations: 3.938 kB / 1.026 GB, free: 32.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004165/2.651, allocations: 0.9194 MB / 1.027 GB, free: 32.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004621/2.655, allocations: 1.464 MB / 1.028 GB, free: 32.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00104/2.657, allocations: 41.89 kB / 1.028 GB, free: 32.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/2.672, allocations: 15.44 MB / 1.043 GB, free: 21.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.672, allocations: 3.969 kB / 1.043 GB, free: 21.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03182/2.704, allocations: 14.46 MB / 1.058 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003929/2.708, allocations: 1.179 MB / 1.059 GB, free: 8.383 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00199/2.71, allocations: 7.609 kB / 1.059 GB, free: 8.379 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004179/2.714, allocations: 289.7 kB / 1.059 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/2.715, allocations: 319 kB / 1.059 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003543/2.716, allocations: 137.1 kB / 1.059 GB, free: 7.895 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003912/2.72, allocations: 2.342 MB / 1.062 GB, free: 5.895 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.72, allocations: 0 / 1.062 GB, free: 5.895 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00987/2.73, allocations: 2.19 MB / 1.064 GB, free: 3.703 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03678/2.766, allocations: 16.06 MB / 1.08 GB, free: 7.418 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3583/3.125, allocations: 9.242 MB / 1.089 GB, free: 74.35 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/3.125, allocations: 0.5 kB / 1.089 GB, free: 74.35 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00877/3.134, allocations: 4.48 MB / 1.093 GB, free: 73.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00458/3.138, allocations: 0.5274 MB / 1.093 GB, free: 73.72 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04295/3.181, allocations: 16.91 MB / 1.11 GB, free: 71.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007844/3.189, allocations: 6.181 MB / 1.116 GB, free: 70.42 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01099/3.2, allocations: 3.43 MB / 1.119 GB, free: 70.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006863/3.207, allocations: 3.001 MB / 1.122 GB, free: 70.33 MB / 474.7 MB Notification: Performance of SimCode: time 1.402e-06/3.207, allocations: 0 / 1.122 GB, free: 70.33 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1955/3.403, allocations: 121.4 MB / 1.241 GB, free: 10.44 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/3.403, allocations: 188.1 kB / 1.241 GB, free: 10.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.265/8.668, allocations: 4 kB / 1.241 GB, free: 10.24 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat