Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001045/0.001045, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009328/0.0009328, allocations: 95.98 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.58e-05/1.583e-05, allocations: 224 / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 51.49 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.5108, allocations: 89.26 MB / 484.5 MB, free: 3.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.5111, allocations: 87 kB / 484.6 MB, free: 3.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1409/0.652, allocations: 55.7 MB / 0.5277 GB, free: 1.035 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6521, allocations: 0 / 0.5277 GB, free: 1.035 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002175/0.6523, allocations: 55.94 kB / 0.5277 GB, free: 0.9805 MB / 394.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.006225/0.6586, allocations: 1.844 MB / 0.5295 GB, free: 15.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.6586, allocations: 8.031 kB / 0.5295 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.6603, allocations: 289.3 kB / 0.5298 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.6635, allocations: 1.313 MB / 0.5311 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.938e-05/0.6635, allocations: 56 kB / 0.5311 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004872/0.664, allocations: 108 kB / 0.5312 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003769/0.6678, allocations: 1.757 MB / 0.5329 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004705/0.6725, allocations: 2.164 MB / 0.5351 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.6726, allocations: 3.938 kB / 0.5351 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.6728, allocations: 4 kB / 0.5351 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.6729, allocations: 95.58 kB / 0.5352 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.685, allocations: 7.075 MB / 0.5421 GB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.6866, allocations: 1.216 MB / 0.5433 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006216/0.6872, allocations: 442.8 kB / 0.5437 GB, free: 88 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003095/0.6875, allocations: 129.5 kB / 0.5438 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.6876, allocations: 39 kB / 0.5438 GB, free: 15.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 2.795e-06/0.6876, allocations: 0 / 0.5438 GB, free: 15.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.003534/0.6911, allocations: 1.741 MB / 0.5455 GB, free: 14.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.6912, allocations: 85.53 kB / 0.5456 GB, free: 13.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.6929, allocations: 1.104 MB / 0.5467 GB, free: 12.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.6929, allocations: 25.7 kB / 0.5467 GB, free: 12.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007317/0.6937, allocations: 0.998 MB / 0.5477 GB, free: 11.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.6938, allocations: 181.5 kB / 0.5479 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.6939, allocations: 4 kB / 0.5479 GB, free: 11.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6941, allocations: 353.9 kB / 0.5482 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/0.6946, allocations: 402.4 kB / 0.5486 GB, free: 10.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009675/0.6956, allocations: 1.022 MB / 0.5496 GB, free: 9.566 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/0.6965, allocations: 0.6213 MB / 0.5502 GB, free: 8.941 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/0.6965, allocations: 8 kB / 0.5502 GB, free: 8.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002342/0.6988, allocations: 1.449 MB / 0.5516 GB, free: 7.477 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.6989, allocations: 16 kB / 0.5516 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.6989, allocations: 24 kB / 0.5517 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.6993, allocations: 128.8 kB / 0.5518 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/0.7002, allocations: 295.5 kB / 0.5521 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.7025, allocations: 2.061 MB / 0.5541 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.7035, allocations: 63.67 kB / 0.5541 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.7036, allocations: 67.95 kB / 0.5542 GB, free: 4.715 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 144 * 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.0002277/0.7039, allocations: 164.4 kB / 0.5544 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001213/0.7051, allocations: 0.7101 MB / 0.5551 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.7053, allocations: 118.5 kB / 0.5552 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.7066, allocations: 0.7461 MB / 0.5559 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.7067, allocations: 4 kB / 0.5559 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.7067, allocations: 0 / 0.5559 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.7067, allocations: 3.984 kB / 0.5559 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/0.7106, allocations: 2.165 MB / 0.558 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.7106, allocations: 4 kB / 0.558 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.711, allocations: 108.2 kB / 0.5581 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003446/0.7113, allocations: 104.8 kB / 0.5582 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.7114, allocations: 4 kB / 0.5582 GB, free: 480 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.7135, allocations: 2.009 MB / 0.5602 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.7135, allocations: 8.062 kB / 0.5602 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.7155, allocations: 1.353 MB / 0.5615 GB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/0.716, allocations: 275.5 kB / 0.5618 GB, free: 12.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.7161, allocations: 4 kB / 0.5618 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.7167, allocations: 44.03 kB / 0.5618 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7168, allocations: 47.94 kB / 0.5619 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.7169, allocations: 23.98 kB / 0.5619 GB, free: 12.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001289/0.7182, allocations: 0.8173 MB / 0.5627 GB, free: 11.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7182, allocations: 0 / 0.5627 GB, free: 11.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001443/0.7197, allocations: 323.9 kB / 0.563 GB, free: 11.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.002619/0.7223, allocations: 2.722 MB / 0.5657 GB, free: 8.492 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001822/0.7241, allocations: 1.032 MB / 0.5667 GB, free: 7.457 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.7241, allocations: 4 kB / 0.5667 GB, free: 7.453 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006781/0.7248, allocations: 483.3 kB / 0.5671 GB, free: 6.973 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.7261, allocations: 236.7 kB / 0.5674 GB, free: 6.742 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/0.732, allocations: 2.966 MB / 0.5703 GB, free: 3.688 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.7336, allocations: 1.729 MB / 0.5719 GB, free: 1.926 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009454/0.7345, allocations: 305.8 kB / 0.5722 GB, free: 1.625 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008038/0.7353, allocations: 0.6047 MB / 0.5728 GB, free: 1.02 MB / 442.7 MB Notification: Performance of SimCode: time 8.81e-07/0.7353, allocations: 0 / 0.5728 GB, free: 1.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3097/1.045, allocations: 25.77 MB / 0.598 GB, free: 87.77 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/1.045, allocations: 159 kB / 0.5981 GB, free: 87.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/3.675, allocations: 0 / 0.5981 GB, free: 87.57 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat