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.0009846/0.0009845, allocations: 97.61 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001267, allocations: 200.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000242/0.000242, allocations: 4 kB / 306.7 MB, free: 1.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1067, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003408/0.1102, allocations: 3.075 MB / 361.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1119, allocations: 1.013 MB / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.1121, allocations: 27.81 kB / 362.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1123, allocations: 123.3 kB / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006043/0.1129, allocations: 231.3 kB / 362.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.1131, allocations: 79.91 kB / 362.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008615/0.114, allocations: 0.8691 MB / 363.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008785/0.1149, allocations: 0.8338 MB / 364.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005543/0.1154, allocations: 454.4 kB / 364.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00071/0.1161, allocations: 0.533 MB / 365.4 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.1163, allocations: 76 kB / 365.5 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1164, allocations: 72 kB / 365.6 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.1167, allocations: 338.9 kB / 365.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.117, allocations: 277 kB / 366.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.1183, allocations: 1.644 MB / 367.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.1184, allocations: 0 / 367.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1184, allocations: 0 / 367.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.1184, allocations: 0 / 367.8 MB, free: 4.125 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.00247/0.1209, allocations: 1.5 MB / 369.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1209, allocations: 8.031 kB / 369.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.1211, allocations: 177.1 kB / 369.5 MB, free: 2.379 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004801/0.1216, allocations: 170.4 kB / 369.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.123, allocations: 0.8414 MB / 370.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.1231, allocations: 90.19 kB / 370.6 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.1232, allocations: 108 kB / 370.7 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.185/0.3083, allocations: 1.553 MB / 372.2 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.3083, allocations: 1.156 kB / 372.2 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3084, allocations: 48.22 kB / 372.3 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.3085, allocations: 27.03 kB / 372.3 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.3109, allocations: 1.336 MB / 373.6 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00743/0.3183, allocations: 4.352 MB / 378 MB, free: 16.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.3194, allocations: 1.328 MB / 379.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.3195, allocations: 13.36 kB / 379.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3195, allocations: 38.55 kB / 379.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.785e-06/0.3195, allocations: 5.469 kB / 379.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001577/0.3211, allocations: 0.9151 MB / 380.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.3212, allocations: 57.31 kB / 380.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.3222, allocations: 0.8147 MB / 381.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.3223, allocations: 36.83 kB / 381.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.3226, allocations: 0.5359 MB / 381.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.3227, allocations: 179 kB / 381.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.3227, allocations: 10.72 kB / 381.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3229, allocations: 386.6 kB / 382.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.3234, allocations: 316 kB / 382.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.3239, allocations: 405.5 kB / 383 MB, free: 13.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.3244, allocations: 372 kB / 383.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3245, allocations: 0 / 383.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001286/0.3257, allocations: 0.8492 MB / 384.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3258, allocations: 6.094 kB / 384.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3258, allocations: 3.609 kB / 384.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.3258, allocations: 8.922 kB / 384.2 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.3264, allocations: 155.2 kB / 384.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3265, allocations: 5.484 kB / 384.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.3269, allocations: 69 kB / 384.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.3269, allocations: 19.16 kB / 384.5 MB, free: 12.5 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.0006833/0.3276, allocations: 456.9 kB / 384.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3277, allocations: 80.16 kB / 385 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.3279, allocations: 91.17 kB / 385.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.3279, allocations: 8.172 kB / 385.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.3279, allocations: 1.281 kB / 385.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3279, allocations: 6.531 kB / 385.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.3308, allocations: 1.962 MB / 387.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3309, allocations: 96 / 387.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.3314, allocations: 122.9 kB / 387.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3314, allocations: 3.969 kB / 387.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.3314, allocations: 8.094 kB / 387.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3314, allocations: 2.312 kB / 387.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3315, allocations: 3.906 kB / 387.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.333, allocations: 1.185 MB / 388.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.3333, allocations: 169.1 kB / 388.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.3334, allocations: 15.98 kB / 388.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/0.3338, allocations: 51.67 kB / 388.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3339, allocations: 37.91 kB / 388.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.3339, allocations: 14.47 kB / 388.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007215/0.3347, allocations: 0.5853 MB / 389.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3347, allocations: 1.312 kB / 389.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008067/0.3355, allocations: 280.4 kB / 389.5 MB, free: 9.887 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (51): * Single equations (assignments): 51 * 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.001691/0.3372, allocations: 1.947 MB / 391.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.3382, allocations: 0.6619 MB / 392.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3382, allocations: 4 kB / 392.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004703/0.3387, allocations: 326.2 kB / 392.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.3395, allocations: 169.7 kB / 392.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009182/0.3487, allocations: 7.652 MB / 400.3 MB, free: 2.695 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008483/0.3495, allocations: 1.364 MB / 401.7 MB, free: 1.297 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005878/0.3501, allocations: 209.8 kB / 401.9 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.3506, allocations: 383.3 kB / 402.2 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of SimCode: time 2.265e-06/0.3506, allocations: 0 / 402.2 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.3872, allocations: 17.4 MB / 419.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/0.3875, allocations: 180 kB / 419.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/2.538, allocations: 0 / 419.8 MB, free: 15.35 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