Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.00126, allocations: 90.62 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.823e-05, allocations: 4 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.09689, allocations: 47.57 MB / 369.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4087/0.5057, allocations: 80.4 MB / 449.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.506, allocations: 67.47 kB / 449.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07813/0.5842, allocations: 18.52 MB / 468.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5842, allocations: 0 / 468.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001319/0.5844, allocations: 31.94 kB / 468.2 MB, free: 12 MB / 346.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.004483/0.5889, allocations: 1.338 MB / 469.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.5889, allocations: 8.031 kB / 469.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00054/0.5895, allocations: 169 kB / 469.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004662/0.59, allocations: 138.4 kB / 469.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.5926, allocations: 0.8534 MB / 470.7 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.5928, allocations: 86.17 kB / 470.8 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.5931, allocations: 108 kB / 470.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/0.5972, allocations: 1.465 MB / 472.4 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.5973, allocations: 4 kB / 472.4 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.5975, allocations: 48 kB / 472.4 MB, free: 7.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.5975, allocations: 35.98 kB / 472.4 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003364/0.6009, allocations: 1.172 MB / 473.6 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.6127, allocations: 4.267 MB / 477.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.6146, allocations: 1.288 MB / 479.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.6157, allocations: 442.5 kB / 479.6 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.957e-05/0.6158, allocations: 8.438 kB / 479.6 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.6158, allocations: 39 kB / 479.6 MB, free: 52 kB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.267e-06/0.6159, allocations: 4 kB / 479.6 MB, free: 48 kB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.004315/0.6202, allocations: 1.631 MB / 481.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.6203, allocations: 59.84 kB / 481.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.6219, allocations: 0.7222 MB / 482.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.6221, allocations: 37.7 kB / 482.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.6226, allocations: 0.5594 MB / 482.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/0.6228, allocations: 173.5 kB / 482.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.6229, allocations: 8 kB / 482.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.623, allocations: 342.8 kB / 483.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/0.6237, allocations: 289 kB / 483.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/0.6245, allocations: 375.4 kB / 483.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.6253, allocations: 351 kB / 484.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6253, allocations: 3.938 kB / 484.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002055/0.6274, allocations: 0.8271 MB / 485 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.6275, allocations: 4 kB / 485 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.6275, allocations: 4 kB / 485 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004494/0.628, allocations: 109.1 kB / 485.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009911/0.629, allocations: 127.8 kB / 485.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003404/0.6324, allocations: 2.166 MB / 487.4 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.6332, allocations: 39.97 kB / 487.4 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.358e-05/0.6333, allocations: 20 kB / 487.5 MB, free: 7.949 MB / 362.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.0002166/0.6336, allocations: 128.9 kB / 487.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.6338, allocations: 79.06 kB / 487.7 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.634, allocations: 94.84 kB / 487.7 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.6341, allocations: 7.984 kB / 487.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.6341, allocations: 7.953 kB / 487.8 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.6341, allocations: 4 kB / 487.8 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.6393, allocations: 2.006 MB / 489.8 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.6394, allocations: 4 kB / 489.8 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/0.6401, allocations: 95.94 kB / 489.9 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004031/0.6405, allocations: 105 kB / 490 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.272e-05/0.6406, allocations: 11.98 kB / 490 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003178/0.6438, allocations: 2.123 MB / 492.1 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6438, allocations: 4.031 kB / 492.1 MB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.6466, allocations: 1.204 MB / 493.3 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/0.647, allocations: 168.1 kB / 493.5 MB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.6472, allocations: 8 kB / 493.5 MB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007696/0.648, allocations: 56.02 kB / 493.5 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.6481, allocations: 44.33 kB / 493.6 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.6482, allocations: 16 kB / 493.6 MB, free: 1.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001224/0.6494, allocations: 0.5733 MB / 494.2 MB, free: 0.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6495, allocations: 4.188 kB / 494.2 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001215/0.6507, allocations: 208 kB / 494.4 MB, free: 0.7109 MB / 362.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.003187/0.6539, allocations: 2.109 MB / 496.5 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.656, allocations: 0.7889 MB / 497.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6561, allocations: 0 / 497.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.6572, allocations: 473.7 kB / 497.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.6587, allocations: 173.2 kB / 497.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005789/0.6645, allocations: 2.09 MB / 0.4883 GB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.666, allocations: 1.336 MB / 0.4896 GB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009043/0.667, allocations: 379.3 kB / 0.49 GB, free: 9.199 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/0.667, allocations: 0 / 0.49 GB, free: 9.199 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.088/3.755, allocations: 24.46 MB / 0.5138 GB, free: 0.6953 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat