Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 177.9 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000838/0.0008378, allocations: 82.22 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.831e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09614, allocations: 47.58 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3162/0.4124, allocations: 88 MB / 451.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.4127, allocations: 88.12 kB / 451.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.133/0.5457, allocations: 55.48 MB / 0.4949 GB, free: 5.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5458, allocations: 0 / 0.4949 GB, free: 5.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001155/0.5459, allocations: 47.94 kB / 0.4949 GB, free: 5.586 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003298/0.5492, allocations: 1.835 MB / 0.4967 GB, free: 3.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.5493, allocations: 8.031 kB / 0.4967 GB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006554/0.5499, allocations: 253.3 kB / 0.497 GB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/0.5519, allocations: 1.294 MB / 0.4982 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.552, allocations: 56 kB / 0.4983 GB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.5522, allocations: 104 kB / 0.4984 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002768/0.555, allocations: 1.784 MB / 0.5001 GB, free: 168 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/0.5585, allocations: 2.175 MB / 0.5022 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.5586, allocations: 4 kB / 0.5022 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.5587, allocations: 4 kB / 0.5022 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.5588, allocations: 99.58 kB / 0.5023 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009769/0.5686, allocations: 6.535 MB / 0.5087 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.5706, allocations: 2.074 MB / 0.5107 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009902/0.5716, allocations: 0.7621 MB / 0.5115 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.5719, allocations: 133.8 kB / 0.5116 GB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.572, allocations: 43.34 kB / 0.5117 GB, free: 3.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.046e-06/0.572, allocations: 0 / 0.5117 GB, free: 3.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.005004/0.577, allocations: 2.555 MB / 0.5142 GB, free: 1.266 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.5771, allocations: 85.89 kB / 0.5142 GB, free: 1.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.5783, allocations: 0.8599 MB / 0.5151 GB, free: 304 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.5784, allocations: 25.7 kB / 0.5151 GB, free: 272 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.5789, allocations: 0.8177 MB / 0.5159 GB, free: 15.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.5791, allocations: 283.7 kB / 0.5162 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.5792, allocations: 3.938 kB / 0.5162 GB, free: 15.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5793, allocations: 342 kB / 0.5165 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.5799, allocations: 446.4 kB / 0.5169 GB, free: 14.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.5806, allocations: 0.5993 MB / 0.5175 GB, free: 13.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.5814, allocations: 0.5548 MB / 0.5181 GB, free: 13.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5814, allocations: 3.938 kB / 0.5181 GB, free: 13.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001892/0.5833, allocations: 1.269 MB / 0.5193 GB, free: 11.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5833, allocations: 11.94 kB / 0.5193 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.5833, allocations: 4 kB / 0.5193 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/0.5837, allocations: 121.2 kB / 0.5194 GB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009676/0.5847, allocations: 231.7 kB / 0.5196 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.5867, allocations: 2.025 MB / 0.5216 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/0.5874, allocations: 20.17 kB / 0.5216 GB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.5875, allocations: 43.92 kB / 0.5217 GB, free: 9.297 MB / 410.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 (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.5877, allocations: 128.7 kB / 0.5218 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001455/0.5892, allocations: 1.046 MB / 0.5228 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.5893, allocations: 106.8 kB / 0.5229 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.591, allocations: 1.113 MB / 0.524 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5911, allocations: 8 kB / 0.524 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5911, allocations: 4 kB / 0.524 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.5911, allocations: 3.984 kB / 0.524 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004343/0.5954, allocations: 2.816 MB / 0.5268 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5955, allocations: 0 / 0.5268 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007672/0.5962, allocations: 175.8 kB / 0.527 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.5966, allocations: 108.8 kB / 0.5271 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.5966, allocations: 4 kB / 0.5271 GB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.5991, allocations: 3.258 MB / 0.5302 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.5992, allocations: 3.984 kB / 0.5302 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.206/0.8052, allocations: 1.785 MB / 0.532 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006334/0.8059, allocations: 300.4 kB / 0.5323 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.8061, allocations: 0.9688 kB / 0.5323 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006781/0.8068, allocations: 40.98 kB / 0.5323 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.807, allocations: 61.64 kB / 0.5324 GB, free: 100 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.8071, allocations: 26.62 kB / 0.5324 GB, free: 100 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.8081, allocations: 0.6569 MB / 0.533 GB, free: 99.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.8082, allocations: 1.125 kB / 0.533 GB, free: 99.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001314/0.8095, allocations: 324.2 kB / 0.5333 GB, free: 99.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002871/0.8124, allocations: 2.425 MB / 0.5357 GB, free: 99.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.8142, allocations: 1.172 MB / 0.5369 GB, free: 99.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.8142, allocations: 1.656 kB / 0.5369 GB, free: 99.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009479/0.8151, allocations: 0.6543 MB / 0.5375 GB, free: 99.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.8165, allocations: 217.8 kB / 0.5377 GB, free: 99.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006443/0.8229, allocations: 3.117 MB / 0.5408 GB, free: 98.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.8246, allocations: 1.761 MB / 0.5425 GB, free: 97.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009779/0.8256, allocations: 278.1 kB / 0.5427 GB, free: 97.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006982/0.8263, allocations: 0.5958 MB / 0.5433 GB, free: 97.64 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.8263, allocations: 0 / 0.5433 GB, free: 97.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04974/0.8761, allocations: 25.8 MB / 0.5685 GB, free: 96.62 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.8763, allocations: 169.8 kB / 0.5687 GB, free: 96.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.359, allocations: 4 kB / 0.5687 GB, free: 96.42 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat