Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009816, allocations: 91.03 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.863e-05, allocations: 4 kB / 337.1 MB, free: 9.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1481, allocations: 50.42 MB / 387.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.5509, allocations: 81.3 MB / 468.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5512, allocations: 71.97 kB / 468.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04975/0.601, allocations: 19.26 MB / 488.2 MB, free: 9.965 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.601, allocations: 0 / 488.2 MB, free: 9.965 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.498e-05/0.6011, allocations: 32 kB / 488.2 MB, free: 9.934 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002294/0.6034, allocations: 1.365 MB / 489.6 MB, free: 8.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.6035, allocations: 8.031 kB / 489.6 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.6037, allocations: 146.3 kB / 489.7 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.6051, allocations: 0.9059 MB / 490.6 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.6052, allocations: 40 kB / 490.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.6053, allocations: 67.98 kB / 490.7 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001733/0.6071, allocations: 1.102 MB / 491.8 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.6091, allocations: 1.311 MB / 493.2 MB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.6091, allocations: 3.953 kB / 493.2 MB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/0.6092, allocations: 3.938 kB / 493.2 MB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.6093, allocations: 28 kB / 493.2 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006346/0.6156, allocations: 4.084 MB / 497.3 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.6167, allocations: 1.266 MB / 498.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/0.6172, allocations: 430 kB / 499 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.6173, allocations: 8.422 kB / 499 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.6173, allocations: 39 kB / 499 MB, free: 14.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=51): time 2.645e-06/0.6173, allocations: 0 / 499 MB, free: 14.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.0008337/0.6182, allocations: 0.5576 MB / 499.6 MB, free: 14.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.6182, allocations: 59.84 kB / 499.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.619, allocations: 0.6634 MB / 0.4886 GB, free: 13.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.6191, allocations: 29.7 kB / 0.4886 GB, free: 13.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.6195, allocations: 0.5453 MB / 0.4891 GB, free: 12.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.6197, allocations: 169.5 kB / 0.4893 GB, free: 12.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.6197, allocations: 3.938 kB / 0.4893 GB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6199, allocations: 382.8 kB / 0.4897 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.6202, allocations: 269 kB / 0.4899 GB, free: 11.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.6206, allocations: 357.5 kB / 0.4903 GB, free: 11.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.621, allocations: 337.8 kB / 0.4906 GB, free: 11.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.621, allocations: 0 / 0.4906 GB, free: 11.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009377/0.622, allocations: 0.7283 MB / 0.4913 GB, free: 10.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.622, allocations: 4 kB / 0.4913 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.622, allocations: 7.938 kB / 0.4913 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.622, allocations: 4 kB / 0.4913 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.6227, allocations: 152.1 kB / 0.4914 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6227, allocations: 7.938 kB / 0.4915 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.6231, allocations: 55.5 kB / 0.4915 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.6231, allocations: 16 kB / 0.4915 GB, free: 10.27 MB / 378.7 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 () * 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.0001232/0.6233, allocations: 116.8 kB / 0.4916 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007108/0.624, allocations: 0.5576 MB / 0.4922 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.706e-05/0.6241, allocations: 75.16 kB / 0.4922 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.6243, allocations: 90.59 kB / 0.4923 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6243, allocations: 4 kB / 0.4923 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6243, allocations: 0 / 0.4923 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6243, allocations: 0 / 0.4923 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.6267, allocations: 1.689 MB / 0.494 GB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6268, allocations: 3.984 kB / 0.494 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.6273, allocations: 120 kB / 0.4941 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.6273, allocations: 4 kB / 0.4941 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.6273, allocations: 8 kB / 0.4941 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6273, allocations: 3.984 kB / 0.4941 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.6273, allocations: 7.953 kB / 0.4941 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.6285, allocations: 1.045 MB / 0.4951 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.6287, allocations: 164.2 kB / 0.4953 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.6287, allocations: 0 / 0.4953 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.6291, allocations: 51.94 kB / 0.4954 GB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.068e-05/0.6292, allocations: 32.39 kB / 0.4954 GB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.6293, allocations: 16 kB / 0.4954 GB, free: 6.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006073/0.6299, allocations: 0.5186 MB / 0.4959 GB, free: 5.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.863e-06/0.6299, allocations: 0 / 0.4959 GB, free: 5.648 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007522/0.6307, allocations: 270.7 kB / 0.4962 GB, free: 5.383 MB / 378.7 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 () * 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.001499/0.6322, allocations: 1.8 MB / 0.4979 GB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007661/0.633, allocations: 0.5815 MB / 0.4985 GB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.633, allocations: 0 / 0.4985 GB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.6333, allocations: 285.4 kB / 0.4988 GB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/0.634, allocations: 149.1 kB / 0.4989 GB, free: 2.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.6376, allocations: 2.163 MB / 0.501 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009014/0.6385, allocations: 1.355 MB / 0.5023 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004794/0.639, allocations: 209.5 kB / 0.5025 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004631/0.6395, allocations: 383.3 kB / 0.5029 GB, free: 14.33 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6395, allocations: 3.938 kB / 0.5029 GB, free: 14.33 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.6772, allocations: 15.54 MB / 0.5181 GB, free: 14.92 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.6775, allocations: 144.5 kB / 0.5182 GB, free: 14.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.859, allocations: 6.391 kB / 0.5182 GB, free: 14.72 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat