Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",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.001349/0.001349, allocations: 174.9 kB / 8.348 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.584/1.584, allocations: 221.5 MB / 230.3 MB, free: 7.586 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.001188/0.001188, allocations: 92.72 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.348e-05/2.357e-05, allocations: 4 kB / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 50.41 MB / 387.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.4534, allocations: 81.06 MB / 468.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.4536, allocations: 67.97 kB / 468.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0456/0.4993, allocations: 18.82 MB / 487.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4993, allocations: 0 / 487.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.802e-05/0.4994, allocations: 32 kB / 487.5 MB, free: 10.62 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.002275/0.5017, allocations: 1.349 MB / 488.9 MB, free: 9.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.5017, allocations: 8.031 kB / 488.9 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.5019, allocations: 138.4 kB / 489 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.5032, allocations: 0.8531 MB / 489.9 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.5032, allocations: 32 kB / 489.9 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.5033, allocations: 67.94 kB / 490 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001648/0.505, allocations: 1.105 MB / 491.1 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.5069, allocations: 1.294 MB / 492.4 MB, free: 5.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.5069, allocations: 7.953 kB / 492.4 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/0.507, allocations: 0 / 492.4 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.5071, allocations: 28 kB / 492.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005688/0.5127, allocations: 4.037 MB / 496.4 MB, free: 1.426 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/0.5138, allocations: 1.271 MB / 497.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005326/0.5143, allocations: 410.6 kB / 498.1 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.5143, allocations: 8.438 kB / 498.1 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.5144, allocations: 42.95 kB / 498.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.034e-06/0.5144, allocations: 0 / 498.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.002308/0.5167, allocations: 1.545 MB / 499.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.5168, allocations: 63.84 kB / 499.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000768/0.5175, allocations: 0.6673 MB / 0.4887 GB, free: 13.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.5176, allocations: 25.7 kB / 0.4887 GB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.5179, allocations: 0.5414 MB / 0.4893 GB, free: 12.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.518, allocations: 169.4 kB / 0.4894 GB, free: 12.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.5181, allocations: 0 / 0.4894 GB, free: 12.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5182, allocations: 386.8 kB / 0.4898 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.5186, allocations: 273 kB / 0.4901 GB, free: 11.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.519, allocations: 370.3 kB / 0.4904 GB, free: 11.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.5194, allocations: 337.9 kB / 0.4907 GB, free: 11.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5194, allocations: 0 / 0.4907 GB, free: 11.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001085/0.5205, allocations: 0.8229 MB / 0.4915 GB, free: 10.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5205, allocations: 4 kB / 0.4915 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5205, allocations: 4 kB / 0.4915 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/0.5208, allocations: 112.7 kB / 0.4917 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.5213, allocations: 131.8 kB / 0.4918 GB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.5233, allocations: 2.087 MB / 0.4938 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.5237, allocations: 24.03 kB / 0.4938 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.5237, allocations: 20 kB / 0.4939 GB, free: 7.711 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.0001282/0.5238, allocations: 114.9 kB / 0.494 GB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008641/0.5247, allocations: 0.6598 MB / 0.4946 GB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.5248, allocations: 71.16 kB / 0.4947 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.525, allocations: 82.61 kB / 0.4948 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.525, allocations: 4 kB / 0.4948 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.525, allocations: 7.938 kB / 0.4948 GB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.525, allocations: 3.984 kB / 0.4948 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002705/0.5277, allocations: 1.785 MB / 0.4965 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5278, allocations: 0 / 0.4965 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.5281, allocations: 92.05 kB / 0.4966 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002022/0.5283, allocations: 100.7 kB / 0.4967 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.5284, allocations: 11.94 kB / 0.4967 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.5301, allocations: 2.044 MB / 0.4987 GB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5302, allocations: 0 / 0.4987 GB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.5315, allocations: 1.177 MB / 0.4999 GB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.5317, allocations: 156.2 kB / 0.5 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/0.5318, allocations: 7.984 kB / 0.5 GB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.5322, allocations: 52.02 kB / 0.5001 GB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.5323, allocations: 36.39 kB / 0.5001 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.5323, allocations: 20.05 kB / 0.5001 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005938/0.5329, allocations: 0.5225 MB / 0.5006 GB, free: 492 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5329, allocations: 3.938 kB / 0.5006 GB, free: 488 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007434/0.5337, allocations: 192 kB / 0.5008 GB, free: 296 kB / 378.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.001699/0.5354, allocations: 2.058 MB / 0.5028 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.5364, allocations: 0.747 MB / 0.5036 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5365, allocations: 0 / 0.5036 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005782/0.537, allocations: 455.9 kB / 0.504 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.5379, allocations: 139.3 kB / 0.5041 GB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.5413, allocations: 2.058 MB / 0.5061 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009173/0.5423, allocations: 1.363 MB / 0.5075 GB, free: 9.301 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004414/0.5427, allocations: 181.5 kB / 0.5076 GB, free: 9.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/0.5432, allocations: 375.3 kB / 0.508 GB, free: 8.754 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5432, allocations: 0 / 0.508 GB, free: 8.754 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03654/0.5797, allocations: 16.06 MB / 0.5237 GB, free: 8.824 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.5799, allocations: 140.7 kB / 0.5238 GB, free: 8.633 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/2.825, allocations: 0 / 0.5238 GB, free: 8.633 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat