Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008082/0.0008081, allocations: 101.9 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000927/0.0009269, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002435/0.0002435, allocations: 4 kB / 306.8 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1372, allocations: 51.49 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004194/0.1415, allocations: 3.254 MB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.1438, allocations: 0.9975 MB / 362.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.1442, allocations: 19.88 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1445, allocations: 115.2 kB / 362.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009048/0.1454, allocations: 274.7 kB / 362.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1456, allocations: 79.92 kB / 363 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.1474, allocations: 1.494 MB / 364.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.1486, allocations: 0.8338 MB / 365.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008895/0.1495, allocations: 490.1 kB / 365.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007924/0.1503, allocations: 0.6265 MB / 366.5 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1505, allocations: 75.94 kB / 366.5 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.1507, allocations: 80 kB / 366.6 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.151, allocations: 354.8 kB / 367 MB, free: 5.277 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.1512, allocations: 273.1 kB / 367.2 MB, free: 5.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.1528, allocations: 1.648 MB / 368.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.1528, allocations: 0 / 368.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1528, allocations: 0 / 368.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.1528, allocations: 0 / 368.9 MB, free: 3.352 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002689/0.1555, allocations: 1.5 MB / 370.4 MB, free: 1.797 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.11e-05/0.1556, allocations: 12.03 kB / 370.4 MB, free: 1.785 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002758/0.1559, allocations: 173.1 kB / 370.6 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005534/0.1564, allocations: 174.4 kB / 370.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.1578, allocations: 0.8375 MB / 371.6 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/0.1579, allocations: 86.2 kB / 371.6 MB, free: 480 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.158, allocations: 112 kB / 371.8 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2284/0.3865, allocations: 1.563 MB / 373.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.3865, allocations: 0 / 373.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.3866, allocations: 48.44 kB / 373.4 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.3867, allocations: 27.27 kB / 373.4 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.3894, allocations: 1.338 MB / 374.7 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00708/0.3965, allocations: 4.35 MB / 379.1 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.3978, allocations: 1.341 MB / 380.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009641/0.3988, allocations: 0.5524 MB / 381 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.3988, allocations: 4.656 kB / 381 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3989, allocations: 46.81 kB / 381 MB, free: 15.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.236e-06/0.3989, allocations: 0 / 381 MB, free: 15.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001552/0.4004, allocations: 0.8923 MB / 381.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.4005, allocations: 56.62 kB / 382 MB, free: 14.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.4016, allocations: 0.8152 MB / 382.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.4017, allocations: 37.05 kB / 382.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.402, allocations: 0.5362 MB / 383.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.4022, allocations: 179.6 kB / 383.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.4022, allocations: 14.47 kB / 383.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4023, allocations: 386.1 kB / 383.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/0.4028, allocations: 304.5 kB / 384.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.4034, allocations: 403 kB / 384.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.4039, allocations: 367 kB / 385 MB, free: 13.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.404, allocations: 1.156 kB / 385 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001755/0.4057, allocations: 0.8374 MB / 385.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.4058, allocations: 6.5 kB / 385.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.4058, allocations: 2.875 kB / 385.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/0.4058, allocations: 14.31 kB / 385.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/0.4066, allocations: 153.3 kB / 386 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/0.4066, allocations: 6.266 kB / 386 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.4072, allocations: 60.64 kB / 386 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.4072, allocations: 17.62 kB / 386.1 MB, free: 12.78 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00106/0.4083, allocations: 459.9 kB / 386.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.4085, allocations: 77.77 kB / 386.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.4087, allocations: 92.7 kB / 386.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.4087, allocations: 9.391 kB / 386.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.4087, allocations: 1.219 kB / 386.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4087, allocations: 2.766 kB / 386.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.4119, allocations: 1.976 MB / 388.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.412, allocations: 1.156 kB / 388.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.4125, allocations: 120.9 kB / 388.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.4125, allocations: 7.547 kB / 388.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.4125, allocations: 9.062 kB / 388.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.4125, allocations: 5.094 kB / 388.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4125, allocations: 7.094 kB / 388.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.414, allocations: 1.14 MB / 390 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.4142, allocations: 170.8 kB / 390.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.4143, allocations: 16.09 kB / 390.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.4147, allocations: 51.8 kB / 390.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4148, allocations: 50.02 kB / 390.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/0.4149, allocations: 16 kB / 390.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007606/0.4156, allocations: 0.5812 MB / 390.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4156, allocations: 0 / 390.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008612/0.4165, allocations: 280.7 kB / 391.1 MB, free: 9.895 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001622/0.4181, allocations: 1.693 MB / 392.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.4192, allocations: 0.6554 MB / 393.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4192, allocations: 0 / 393.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004524/0.4197, allocations: 332.3 kB / 393.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/0.4206, allocations: 170.1 kB / 394 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/0.4283, allocations: 6.353 MB / 400.3 MB, free: 3.043 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.429, allocations: 1.34 MB / 401.6 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004976/0.4295, allocations: 209.8 kB / 401.8 MB, free: 1.465 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.4299, allocations: 383.3 kB / 402.2 MB, free: 1.09 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4299, allocations: 0 / 402.2 MB, free: 1.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.4651, allocations: 17.47 MB / 419.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.4654, allocations: 194.1 kB / 419.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.674, allocations: 2.516 kB / 419.9 MB, free: 15.64 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat