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.001545/0.001545, allocations: 185.7 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 96.36 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004101, allocations: 8 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3352, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.4842, allocations: 88.51 MB / 463.2 MB, free: 8.238 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.4846, allocations: 87.95 kB / 463.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5325/1.017, allocations: 55.97 MB / 0.507 GB, free: 87.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.017, allocations: 4 kB / 0.507 GB, free: 87.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001895/1.017, allocations: 57.14 kB / 0.5071 GB, free: 87.65 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.007302/1.025, allocations: 2.011 MB / 0.5091 GB, free: 86.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/1.025, allocations: 7.625 kB / 0.5091 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/1.026, allocations: 289.8 kB / 0.5093 GB, free: 86.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/1.027, allocations: 252.3 kB / 0.5096 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/1.031, allocations: 1.298 MB / 0.5109 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/1.031, allocations: 131.3 kB / 0.511 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007077/1.032, allocations: 172 kB / 0.5111 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007014/1.039, allocations: 2.49 MB / 0.5136 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-05/1.039, allocations: 0 / 0.5136 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/1.039, allocations: 78.72 kB / 0.5136 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/1.04, allocations: 101.2 kB / 0.5137 GB, free: 85.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006005/1.046, allocations: 1.968 MB / 0.5157 GB, free: 85.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01772/1.063, allocations: 6.919 MB / 0.5224 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/1.066, allocations: 2.138 MB / 0.5245 GB, free: 80.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/1.067, allocations: 133.1 kB / 0.5246 GB, free: 80.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/1.067, allocations: 46.72 kB / 0.5247 GB, free: 80.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.757e-06/1.067, allocations: 0 / 0.5247 GB, free: 80.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.009493/1.076, allocations: 3.277 MB / 0.5279 GB, free: 79.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/1.077, allocations: 87.39 kB / 0.528 GB, free: 79.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/1.079, allocations: 1.094 MB / 0.529 GB, free: 78.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002235/1.079, allocations: 44.89 kB / 0.5291 GB, free: 78.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005019/1.08, allocations: 0.7817 MB / 0.5298 GB, free: 77.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000404/1.08, allocations: 300.2 kB / 0.5301 GB, free: 77.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/1.08, allocations: 19.78 kB / 0.5301 GB, free: 77.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.936e-05/1.08, allocations: 356.4 kB / 0.5305 GB, free: 77.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.082, allocations: 495.8 kB / 0.531 GB, free: 77.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/1.083, allocations: 0.6623 MB / 0.5316 GB, free: 76.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/1.084, allocations: 0.602 MB / 0.5322 GB, free: 76.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/1.084, allocations: 0 / 0.5322 GB, free: 76.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003368/1.088, allocations: 1.352 MB / 0.5335 GB, free: 75.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/1.088, allocations: 7.062 kB / 0.5335 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/1.088, allocations: 7.406 kB / 0.5335 GB, free: 75.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/1.089, allocations: 118.3 kB / 0.5336 GB, free: 75.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/1.09, allocations: 236.5 kB / 0.5339 GB, free: 75.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/1.093, allocations: 2.143 MB / 0.536 GB, free: 74.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/1.095, allocations: 42.69 kB / 0.536 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/1.095, allocations: 40.2 kB / 0.536 GB, free: 74.14 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 (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.001937/1.097, allocations: 0.6673 MB / 0.5367 GB, free: 73.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005047/1.098, allocations: 124.9 kB / 0.5368 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/1.101, allocations: 1.28 MB / 0.5381 GB, free: 73.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/1.101, allocations: 8 kB / 0.5381 GB, free: 73.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.101, allocations: 0 / 0.5381 GB, free: 73.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.101, allocations: 3.281 kB / 0.5381 GB, free: 73.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007994/1.109, allocations: 3.215 MB / 0.5412 GB, free: 70.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/1.109, allocations: 0 / 0.5412 GB, free: 70.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.111, allocations: 171.5 kB / 0.5414 GB, free: 70.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005417/1.111, allocations: 126.6 kB / 0.5415 GB, free: 70.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.478e-05/1.111, allocations: 16 kB / 0.5415 GB, free: 70.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/1.115, allocations: 3.423 MB / 0.5449 GB, free: 66.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.115, allocations: 0 / 0.5449 GB, free: 66.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/1.119, allocations: 1.999 MB / 0.5468 GB, free: 64.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.121, allocations: 316.7 kB / 0.5471 GB, free: 64.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/1.121, allocations: 12 kB / 0.5471 GB, free: 64.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.122, allocations: 58.94 kB / 0.5472 GB, free: 64.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/1.122, allocations: 59.55 kB / 0.5472 GB, free: 64.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.192e-05/1.123, allocations: 28.75 kB / 0.5473 GB, free: 64.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001927/1.124, allocations: 0.8538 MB / 0.5481 GB, free: 63.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.125, allocations: 0 / 0.5481 GB, free: 63.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001922/1.126, allocations: 368 kB / 0.5484 GB, free: 63.3 MB / 378.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 () * Number of clocked 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.005193/1.132, allocations: 2.632 MB / 0.551 GB, free: 60.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00313/1.135, allocations: 1.303 MB / 0.5523 GB, free: 59.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.433e-06/1.135, allocations: 0 / 0.5523 GB, free: 59.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/1.137, allocations: 0.7072 MB / 0.553 GB, free: 58.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.139, allocations: 344.2 kB / 0.5533 GB, free: 58.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02489/1.164, allocations: 12.73 MB / 0.5657 GB, free: 45.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.166, allocations: 1.718 MB / 0.5674 GB, free: 43.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/1.167, allocations: 0.6086 MB / 0.568 GB, free: 42.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/1.168, allocations: 0 / 0.568 GB, free: 42.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.203/4.371, allocations: 45.98 MB / 0.6129 GB, free: 12.99 MB / 394.7 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