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.001078/0.001078, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008594/0.0008591, allocations: 99.5 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000197/0.000197, allocations: 8 kB / 358 MB, free: 9.219 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.208, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09673/0.3047, allocations: 82.6 MB / 492.1 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.305, allocations: 71.95 kB / 492.2 MB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04545/0.3505, allocations: 19.03 MB / 0.4992 GB, free: 4.766 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3505, allocations: 0 / 0.4992 GB, free: 4.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.765e-05/0.3506, allocations: 31.94 kB / 0.4992 GB, free: 4.734 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002921/0.3535, allocations: 1.465 MB / 0.5007 GB, free: 3.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3536, allocations: 8.031 kB / 0.5007 GB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003162/0.3539, allocations: 177 kB / 0.5009 GB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005485/0.3544, allocations: 182.3 kB / 0.501 GB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.3561, allocations: 0.8495 MB / 0.5019 GB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.3562, allocations: 86.17 kB / 0.5019 GB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.3564, allocations: 108 kB / 0.502 GB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.3586, allocations: 1.493 MB / 0.5035 GB, free: 200 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.3587, allocations: 4 kB / 0.5035 GB, free: 196 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.3588, allocations: 51.94 kB / 0.5036 GB, free: 144 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.3588, allocations: 24 kB / 0.5036 GB, free: 120 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1926/0.5514, allocations: 1.212 MB / 0.5048 GB, free: 87.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007949/0.5593, allocations: 4.256 MB / 0.5089 GB, free: 86.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.5606, allocations: 1.313 MB / 0.5102 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.5606, allocations: 7.656 kB / 0.5102 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.5607, allocations: 40.97 kB / 0.5102 GB, free: 85.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.395e-06/0.5607, allocations: 0.5 kB / 0.5102 GB, free: 85.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.003209/0.5639, allocations: 1.969 MB / 0.5122 GB, free: 85.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.564, allocations: 59.31 kB / 0.5122 GB, free: 85.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008158/0.5648, allocations: 0.7309 MB / 0.5129 GB, free: 85.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.5648, allocations: 40.14 kB / 0.513 GB, free: 85.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.5651, allocations: 0.5406 MB / 0.5135 GB, free: 84.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.62e-05/0.5652, allocations: 176.6 kB / 0.5137 GB, free: 84.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.5652, allocations: 11.97 kB / 0.5137 GB, free: 84.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.5653, allocations: 385.4 kB / 0.5141 GB, free: 84.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.5657, allocations: 317.6 kB / 0.5144 GB, free: 84.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.5661, allocations: 405.5 kB / 0.5147 GB, free: 84.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.5665, allocations: 376.1 kB / 0.5151 GB, free: 84.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5665, allocations: 0 / 0.5151 GB, free: 84.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001136/0.5677, allocations: 0.9229 MB / 0.516 GB, free: 83.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5677, allocations: 10.75 kB / 0.516 GB, free: 83.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5677, allocations: 3.844 kB / 0.516 GB, free: 83.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.568, allocations: 107.6 kB / 0.5161 GB, free: 83.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.5685, allocations: 131.8 kB / 0.5162 GB, free: 83.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/0.5701, allocations: 2.193 MB / 0.5184 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.5705, allocations: 28.5 kB / 0.5184 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.5705, allocations: 22.53 kB / 0.5184 GB, free: 81.9 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0004978/0.571, allocations: 449.1 kB / 0.5189 GB, free: 81.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.5711, allocations: 71.56 kB / 0.5189 GB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.5713, allocations: 95.95 kB / 0.519 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5713, allocations: 7.297 kB / 0.519 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5713, allocations: 2.781 kB / 0.519 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5713, allocations: 10.12 kB / 0.519 GB, free: 81.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.574, allocations: 2.011 MB / 0.521 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.574, allocations: 0 / 0.521 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.5744, allocations: 88.59 kB / 0.5211 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.5746, allocations: 107.1 kB / 0.5212 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.5746, allocations: 15.3 kB / 0.5212 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.576, allocations: 2.147 MB / 0.5233 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5761, allocations: 8.078 kB / 0.5233 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.5774, allocations: 1.23 MB / 0.5245 GB, free: 78.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/0.5776, allocations: 161.1 kB / 0.5247 GB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/0.5777, allocations: 11.27 kB / 0.5247 GB, free: 78.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.5781, allocations: 62.75 kB / 0.5247 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.861e-05/0.5781, allocations: 33.39 kB / 0.5248 GB, free: 78.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.5782, allocations: 15.03 kB / 0.5248 GB, free: 78.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005705/0.5788, allocations: 0.585 MB / 0.5254 GB, free: 77.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5788, allocations: 0 / 0.5254 GB, free: 77.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006604/0.5794, allocations: 212 kB / 0.5256 GB, free: 77.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].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 (41): * Single equations (assignments): 40 * 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.001486/0.5809, allocations: 1.934 MB / 0.5274 GB, free: 76.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.582, allocations: 0.8327 MB / 0.5283 GB, free: 76.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.582, allocations: 0 / 0.5283 GB, free: 76.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.5826, allocations: 494 kB / 0.5287 GB, free: 76.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.5832, allocations: 165.7 kB / 0.5289 GB, free: 76.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.5906, allocations: 7.748 MB / 0.5365 GB, free: 69.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.5914, allocations: 1.356 MB / 0.5378 GB, free: 68.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.5918, allocations: 191.5 kB / 0.538 GB, free: 68.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.5922, allocations: 384.2 kB / 0.5383 GB, free: 68.26 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5922, allocations: 4 kB / 0.5383 GB, free: 68.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.6199, allocations: 17.83 MB / 0.5557 GB, free: 51.62 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/0.62, allocations: 199.6 kB / 0.5559 GB, free: 51.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.197/2.817, allocations: 0 / 0.5559 GB, free: 51.38 MB / 378.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