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.0009883/0.0009883, allocations: 180.4 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0007965/0.0007964, allocations: 97.02 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2389, allocations: 47.56 MB / 375.9 MB, free: 45.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.3431, allocations: 88.51 MB / 464.4 MB, free: 8.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.3434, allocations: 87.95 kB / 464.5 MB, free: 7.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2899/0.6333, allocations: 55.98 MB / 0.5083 GB, free: 88.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.6333, allocations: 2.625 kB / 0.5083 GB, free: 88.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000131/0.6334, allocations: 49.22 kB / 0.5083 GB, free: 88.09 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.004086/0.6375, allocations: 2.016 MB / 0.5103 GB, free: 87.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6376, allocations: 11.72 kB / 0.5103 GB, free: 87.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005811/0.6382, allocations: 277.7 kB / 0.5106 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007856/0.639, allocations: 252.8 kB / 0.5108 GB, free: 86.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.641, allocations: 1.305 MB / 0.5121 GB, free: 86.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.006e-05/0.6411, allocations: 137.2 kB / 0.5122 GB, free: 86.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/0.6414, allocations: 169.1 kB / 0.5124 GB, free: 86.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/0.6448, allocations: 2.492 MB / 0.5148 GB, free: 86.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.6448, allocations: 0 / 0.5148 GB, free: 86.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.645, allocations: 77.22 kB / 0.5149 GB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.299e-05/0.6451, allocations: 99.09 kB / 0.515 GB, free: 86.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.6479, allocations: 1.958 MB / 0.5169 GB, free: 86.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00884/0.6568, allocations: 6.916 MB / 0.5237 GB, free: 82.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.6583, allocations: 2.148 MB / 0.5258 GB, free: 81.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002399/0.6586, allocations: 128.7 kB / 0.5259 GB, free: 81.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.6586, allocations: 46.5 kB / 0.5259 GB, free: 81.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.6586, allocations: 0 / 0.5259 GB, free: 81.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.004588/0.6632, allocations: 3.281 MB / 0.5291 GB, free: 79.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.6632, allocations: 95.02 kB / 0.5292 GB, free: 79.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.6643, allocations: 1.093 MB / 0.5303 GB, free: 78.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.6644, allocations: 40.8 kB / 0.5303 GB, free: 78.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.6648, allocations: 0.794 MB / 0.5311 GB, free: 78.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.6649, allocations: 300.2 kB / 0.5314 GB, free: 78.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.665, allocations: 19.5 kB / 0.5314 GB, free: 78.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.665, allocations: 347.7 kB / 0.5317 GB, free: 77.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005718/0.6656, allocations: 495.6 kB / 0.5322 GB, free: 77.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.6662, allocations: 0.6673 MB / 0.5329 GB, free: 77.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006556/0.6669, allocations: 0.6013 MB / 0.5334 GB, free: 76.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6669, allocations: 3.812 kB / 0.5334 GB, free: 76.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001728/0.6686, allocations: 1.433 MB / 0.5348 GB, free: 76.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6687, allocations: 3.812 kB / 0.5348 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.6687, allocations: 7.344 kB / 0.5349 GB, free: 76.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/0.669, allocations: 115.2 kB / 0.535 GB, free: 76.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008678/0.6699, allocations: 237.2 kB / 0.5352 GB, free: 76.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.6715, allocations: 2.142 MB / 0.5373 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/0.6722, allocations: 45.03 kB / 0.5373 GB, free: 74.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.6723, allocations: 33.66 kB / 0.5374 GB, free: 74.48 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.0009161/0.6732, allocations: 0.6674 MB / 0.538 GB, free: 74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.6734, allocations: 126.5 kB / 0.5381 GB, free: 73.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.675, allocations: 1.29 MB / 0.5394 GB, free: 72.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6751, allocations: 8 kB / 0.5394 GB, free: 72.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6751, allocations: 0 / 0.5394 GB, free: 72.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6751, allocations: 2.812 kB / 0.5394 GB, free: 72.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/0.679, allocations: 3.214 MB / 0.5425 GB, free: 70.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.679, allocations: 0 / 0.5425 GB, free: 70.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/0.6797, allocations: 173.3 kB / 0.5427 GB, free: 70 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.68, allocations: 119.8 kB / 0.5428 GB, free: 69.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.68, allocations: 15.23 kB / 0.5428 GB, free: 69.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.6819, allocations: 3.427 MB / 0.5462 GB, free: 66.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6819, allocations: 384 / 0.5462 GB, free: 66.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.6841, allocations: 1.989 MB / 0.5481 GB, free: 64.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.6846, allocations: 315.6 kB / 0.5484 GB, free: 64.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.6848, allocations: 16 kB / 0.5484 GB, free: 64.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.6853, allocations: 59.97 kB / 0.5485 GB, free: 64.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.6855, allocations: 64.89 kB / 0.5486 GB, free: 64.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.6855, allocations: 28 kB / 0.5486 GB, free: 64.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009562/0.6865, allocations: 0.8499 MB / 0.5494 GB, free: 63.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6865, allocations: 0 / 0.5494 GB, free: 63.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001018/0.6875, allocations: 371.9 kB / 0.5498 GB, free: 62.88 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.002501/0.69, allocations: 2.641 MB / 0.5523 GB, free: 60.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.6917, allocations: 1.295 MB / 0.5536 GB, free: 58.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6917, allocations: 0 / 0.5536 GB, free: 58.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008592/0.6926, allocations: 0.7198 MB / 0.5543 GB, free: 58.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.694, allocations: 335 kB / 0.5546 GB, free: 57.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01283/0.7069, allocations: 12.77 MB / 0.5671 GB, free: 44.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009615/0.7079, allocations: 1.758 MB / 0.5688 GB, free: 42.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008388/0.7087, allocations: 305.3 kB / 0.5691 GB, free: 42.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006149/0.7094, allocations: 0.6008 MB / 0.5697 GB, free: 42.06 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.7094, allocations: 0 / 0.5697 GB, free: 42.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0458/0.7552, allocations: 32.36 MB / 0.6013 GB, free: 9.844 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.7554, allocations: 235.9 kB / 0.6015 GB, free: 9.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.478, allocations: 0 / 0.6015 GB, free: 9.598 MB / 378.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