Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000966/0.0009661, allocations: 87.33 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.04e-05, allocations: 4 kB / 350.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1265, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4133/0.5398, allocations: 82.53 MB / 484.7 MB, free: 6.953 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5401, allocations: 69.39 kB / 484.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05583/0.5959, allocations: 19.06 MB / 0.492 GB, free: 5.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.596, allocations: 4 kB / 0.492 GB, free: 5.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.653e-05/0.5961, allocations: 31.98 kB / 0.492 GB, free: 5.422 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002371/0.5985, allocations: 1.349 MB / 0.4933 GB, free: 4.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5985, allocations: 8.031 kB / 0.4933 GB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.5987, allocations: 177 kB / 0.4935 GB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.5992, allocations: 170.4 kB / 0.4937 GB, free: 3.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.6006, allocations: 0.8573 MB / 0.4945 GB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.6007, allocations: 86.17 kB / 0.4946 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.6009, allocations: 112 kB / 0.4947 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.6031, allocations: 1.454 MB / 0.4961 GB, free: 1.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.6032, allocations: 2.344 kB / 0.4961 GB, free: 1.051 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.6033, allocations: 55.98 kB / 0.4962 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.6033, allocations: 24 kB / 0.4962 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.6052, allocations: 1.164 MB / 0.4973 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007049/0.6122, allocations: 4.235 MB / 0.5015 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.6135, allocations: 1.301 MB / 0.5027 GB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006643/0.6142, allocations: 438.1 kB / 0.5032 GB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.6142, allocations: 8.438 kB / 0.5032 GB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.6143, allocations: 42.98 kB / 0.5032 GB, free: 9.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.064e-06/0.6143, allocations: 0 / 0.5032 GB, free: 9.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002722/0.617, allocations: 1.627 MB / 0.5048 GB, free: 7.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.6171, allocations: 55.84 kB / 0.5048 GB, free: 7.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.6181, allocations: 0.7338 MB / 0.5056 GB, free: 6.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.6182, allocations: 29.7 kB / 0.5056 GB, free: 6.941 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.6186, allocations: 0.5453 MB / 0.5061 GB, free: 6.387 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.6187, allocations: 177.5 kB / 0.5063 GB, free: 6.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.6188, allocations: 8 kB / 0.5063 GB, free: 6.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.619, allocations: 386.7 kB / 0.5067 GB, free: 5.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.6194, allocations: 288.9 kB / 0.5069 GB, free: 5.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.6198, allocations: 383.4 kB / 0.5073 GB, free: 5.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.6203, allocations: 347 kB / 0.5076 GB, free: 4.781 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6203, allocations: 0 / 0.5076 GB, free: 4.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001249/0.6216, allocations: 0.8733 MB / 0.5085 GB, free: 3.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.6216, allocations: 8.312 kB / 0.5085 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6216, allocations: 8 kB / 0.5085 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002998/0.6219, allocations: 107.1 kB / 0.5086 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.6224, allocations: 127.8 kB / 0.5087 GB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.6247, allocations: 2.174 MB / 0.5109 GB, free: 1.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.625, allocations: 27.97 kB / 0.5109 GB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.6251, allocations: 20 kB / 0.5109 GB, free: 1.293 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.6252, allocations: 134.6 kB / 0.511 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.6253, allocations: 75.16 kB / 0.5111 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.6255, allocations: 94.83 kB / 0.5112 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.6255, allocations: 8 kB / 0.5112 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.6256, allocations: 8.016 kB / 0.5112 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.6256, allocations: 0 / 0.5112 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.6286, allocations: 1.988 MB / 0.5131 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6286, allocations: 4.062 kB / 0.5132 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.629, allocations: 95.88 kB / 0.5132 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/0.6292, allocations: 96.8 kB / 0.5133 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.6292, allocations: 16.14 kB / 0.5134 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.6313, allocations: 2.121 MB / 0.5154 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6313, allocations: 4.031 kB / 0.5154 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.6328, allocations: 1.208 MB / 0.5166 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.6331, allocations: 160.3 kB / 0.5168 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.6331, allocations: 15.98 kB / 0.5168 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.6335, allocations: 51.95 kB / 0.5168 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.6337, allocations: 52.27 kB / 0.5169 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.6337, allocations: 12 kB / 0.5169 GB, free: 10.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007472/0.6345, allocations: 0.5733 MB / 0.5174 GB, free: 10.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6345, allocations: 0 / 0.5174 GB, free: 10.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007736/0.6352, allocations: 212 kB / 0.5176 GB, free: 10.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002054/0.6373, allocations: 2.12 MB / 0.5197 GB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.6386, allocations: 0.7777 MB / 0.5205 GB, free: 7.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6386, allocations: 5.812 kB / 0.5205 GB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.6393, allocations: 472.8 kB / 0.5209 GB, free: 6.637 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/0.64, allocations: 166.7 kB / 0.5211 GB, free: 6.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.6436, allocations: 2.1 MB / 0.5231 GB, free: 4.312 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.6447, allocations: 1.359 MB / 0.5245 GB, free: 2.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004499/0.6451, allocations: 197.7 kB / 0.5247 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.6456, allocations: 375.3 kB / 0.525 GB, free: 2.367 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6456, allocations: 3.938 kB / 0.525 GB, free: 2.363 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.6828, allocations: 17.8 MB / 0.5424 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.683, allocations: 184.4 kB / 0.5426 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.906, allocations: 0 / 0.5426 GB, free: 0.6719 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat