Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002221/0.002221, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 93.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.5e-05, allocations: 4 kB / 314.9 MB, free: 9.062 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3441, allocations: 47.56 MB / 362.4 MB, free: 45.74 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.4896, allocations: 87.76 MB / 450.2 MB, free: 14.45 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/0.49, allocations: 83.95 kB / 450.3 MB, free: 14.37 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2331/0.7232, allocations: 55.49 MB / 0.4939 GB, free: 6.594 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7232, allocations: 0 / 0.4939 GB, free: 6.594 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002174/0.7235, allocations: 47.94 kB / 0.494 GB, free: 6.547 MB / 395.1 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.007144/0.7306, allocations: 1.83 MB / 0.4957 GB, free: 4.668 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.7307, allocations: 8.031 kB / 0.4957 GB, free: 4.66 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.7323, allocations: 257.3 kB / 0.496 GB, free: 4.406 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.7369, allocations: 1.294 MB / 0.4973 GB, free: 3.07 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.7371, allocations: 56 kB / 0.4973 GB, free: 3.016 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007704/0.7379, allocations: 107.9 kB / 0.4974 GB, free: 2.91 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006112/0.744, allocations: 1.784 MB / 0.4992 GB, free: 1.125 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2828/1.027, allocations: 2.173 MB / 0.5013 GB, free: 90.54 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.584e-05/1.027, allocations: 1.188 kB / 0.5013 GB, free: 90.54 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/1.027, allocations: 5.672 kB / 0.5013 GB, free: 90.54 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001723/1.027, allocations: 93.27 kB / 0.5014 GB, free: 90.54 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01986/1.047, allocations: 6.531 MB / 0.5077 GB, free: 89.5 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/1.05, allocations: 2.077 MB / 0.5098 GB, free: 88.34 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/1.052, allocations: 0.761 MB / 0.5105 GB, free: 88.32 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/1.053, allocations: 138.7 kB / 0.5107 GB, free: 88.23 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/1.053, allocations: 42.78 kB / 0.5107 GB, free: 88.19 MB / 395.1 MB Notification: Performance of pre-optimization done (n=82): time 4.829e-06/1.053, allocations: 5.031 kB / 0.5107 GB, free: 88.19 MB / 395.1 MB Notification: Performance of matching and sorting (n=88): time 0.007567/1.06, allocations: 2.558 MB / 0.5132 GB, free: 87.62 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/1.06, allocations: 90.83 kB / 0.5133 GB, free: 87.52 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/1.062, allocations: 0.8565 MB / 0.5141 GB, free: 87.41 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/1.063, allocations: 25.7 kB / 0.5141 GB, free: 87.38 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006772/1.063, allocations: 0.8177 MB / 0.5149 GB, free: 87 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004213/1.064, allocations: 285.5 kB / 0.5152 GB, free: 86.85 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/1.064, allocations: 0 / 0.5152 GB, free: 86.85 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/1.064, allocations: 346.5 kB / 0.5155 GB, free: 86.54 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/1.065, allocations: 447.4 kB / 0.516 GB, free: 86.54 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/1.066, allocations: 0.6053 MB / 0.5166 GB, free: 86.36 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.068, allocations: 0.5497 MB / 0.5171 GB, free: 86.35 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/1.068, allocations: 1.188 kB / 0.5171 GB, free: 86.35 MB / 395.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003035/1.071, allocations: 1.196 MB / 0.5183 GB, free: 86.27 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/1.071, allocations: 6.969 kB / 0.5183 GB, free: 86.27 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.071, allocations: 5.469 kB / 0.5183 GB, free: 86.27 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/1.071, allocations: 121.3 kB / 0.5184 GB, free: 86.27 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/1.073, allocations: 240.5 kB / 0.5186 GB, free: 86.27 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/1.076, allocations: 2.031 MB / 0.5206 GB, free: 84.98 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.078, allocations: 22.98 kB / 0.5206 GB, free: 84.98 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/1.078, allocations: 36.36 kB / 0.5207 GB, free: 84.98 MB / 395.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 () * 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.0002623/1.078, allocations: 129.5 kB / 0.5208 GB, free: 84.88 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00258/1.081, allocations: 1.047 MB / 0.5218 GB, free: 84.76 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/1.081, allocations: 111.4 kB / 0.5219 GB, free: 84.71 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/1.084, allocations: 1.11 MB / 0.523 GB, free: 84.63 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/1.084, allocations: 11 kB / 0.523 GB, free: 84.63 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.084, allocations: 0 / 0.523 GB, free: 84.63 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/1.084, allocations: 3.234 kB / 0.523 GB, free: 84.63 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007205/1.091, allocations: 2.812 MB / 0.5258 GB, free: 84.29 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.091, allocations: 2.188 kB / 0.5258 GB, free: 84.29 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/1.093, allocations: 184.6 kB / 0.5259 GB, free: 84.29 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005473/1.093, allocations: 109.5 kB / 0.526 GB, free: 84.27 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/1.093, allocations: 3.141 kB / 0.526 GB, free: 84.27 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/1.096, allocations: 3.257 MB / 0.5292 GB, free: 81.36 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.097, allocations: 0 / 0.5292 GB, free: 81.36 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/1.1, allocations: 1.79 MB / 0.531 GB, free: 80.56 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000926/1.101, allocations: 296.7 kB / 0.5313 GB, free: 80.36 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/1.101, allocations: 0 / 0.5313 GB, free: 80.36 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.102, allocations: 49.39 kB / 0.5313 GB, free: 80.36 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/1.103, allocations: 57.17 kB / 0.5314 GB, free: 80.35 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.562e-05/1.103, allocations: 25.08 kB / 0.5314 GB, free: 80.34 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001218/1.104, allocations: 0.6614 MB / 0.532 GB, free: 80.05 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.312e-06/1.104, allocations: 0 / 0.532 GB, free: 80.05 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001858/1.106, allocations: 320.4 kB / 0.5323 GB, free: 80.05 MB / 395.1 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.004354/1.11, allocations: 2.435 MB / 0.5347 GB, free: 78.72 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002506/1.113, allocations: 1.169 MB / 0.5359 GB, free: 78.25 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.113, allocations: 0 / 0.5359 GB, free: 78.25 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.114, allocations: 0.6533 MB / 0.5365 GB, free: 77.95 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/1.117, allocations: 210.6 kB / 0.5367 GB, free: 77.91 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008661/1.125, allocations: 3.073 MB / 0.5397 GB, free: 76.76 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.127, allocations: 1.722 MB / 0.5414 GB, free: 75.84 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.128, allocations: 0.6017 MB / 0.542 GB, free: 75.36 MB / 395.1 MB Notification: Performance of SimCode: time 1.573e-06/1.128, allocations: 0 / 0.542 GB, free: 75.36 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.31/4.438, allocations: 43.81 MB / 0.5847 GB, free: 52.15 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat