Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009601/0.0009603, allocations: 101 kB / 16.94 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 178.1 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004145, allocations: 12 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09415/0.09457, allocations: 47.58 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003409/0.09803, allocations: 3.013 MB / 331.4 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.09974, allocations: 0.9908 MB / 332.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.09996, allocations: 19.88 kB / 332.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.1002, allocations: 127.3 kB / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.1008, allocations: 215.3 kB / 332.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.101, allocations: 83.92 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008611/0.1019, allocations: 0.8692 MB / 333.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007961/0.1027, allocations: 0.7381 MB / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004399/0.1032, allocations: 442.4 kB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006035/0.1038, allocations: 0.5291 MB / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.934e-05/0.1039, allocations: 76 kB / 335.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.104, allocations: 72 kB / 335.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.1043, allocations: 343 kB / 335.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.1045, allocations: 273.1 kB / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.1057, allocations: 1.605 MB / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1058, allocations: 0 / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1058, allocations: 0 / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.1058, allocations: 4 kB / 337.8 MB, free: 10.58 MB / 286.1 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.002297/0.1081, allocations: 1.454 MB / 339.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1081, allocations: 12.03 kB / 339.2 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/0.1084, allocations: 173 kB / 339.4 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.1086, allocations: 138.3 kB / 339.6 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.1098, allocations: 0.7948 MB / 340.3 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/0.1099, allocations: 82.22 kB / 340.4 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.11, allocations: 115.9 kB / 340.5 MB, free: 7.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.1122, allocations: 1.525 MB / 342.1 MB, free: 6.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.1123, allocations: 0 / 342.1 MB, free: 6.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/0.1124, allocations: 44 kB / 342.1 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.1124, allocations: 31.98 kB / 342.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.1144, allocations: 1.312 MB / 343.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00614/0.1206, allocations: 4.244 MB / 347.7 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.1218, allocations: 1.322 MB / 349 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1218, allocations: 8.438 kB / 349 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1219, allocations: 35 kB / 349.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.735e-06/0.1219, allocations: 4 kB / 349.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=50): time 0.003158/0.1251, allocations: 1.977 MB / 351 MB, free: 12.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.1251, allocations: 63.78 kB / 351.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009035/0.126, allocations: 0.8164 MB / 351.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.1261, allocations: 37.7 kB / 352 MB, free: 11.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.1264, allocations: 0.5336 MB / 352.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.1266, allocations: 169.5 kB / 352.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.1266, allocations: 12 kB / 352.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1268, allocations: 382.8 kB / 353 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.1272, allocations: 312.9 kB / 353.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.1277, allocations: 407.4 kB / 353.7 MB, free: 10 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.1283, allocations: 381.9 kB / 354.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1283, allocations: 0 / 354.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001322/0.1296, allocations: 0.9282 MB / 355 MB, free: 8.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1297, allocations: 8 kB / 355.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1297, allocations: 3.938 kB / 355.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002785/0.13, allocations: 112.8 kB / 355.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.1305, allocations: 127.8 kB / 355.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.1326, allocations: 2.189 MB / 357.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.133, allocations: 28.06 kB / 357.5 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.133, allocations: 23.94 kB / 357.5 MB, free: 6.062 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0006515/0.1337, allocations: 457.5 kB / 358 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1338, allocations: 75.16 kB / 358.1 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.1339, allocations: 99.02 kB / 358.1 MB, free: 5.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1339, allocations: 4 kB / 358.2 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.134, allocations: 4 kB / 358.2 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.134, allocations: 3.984 kB / 358.2 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.137, allocations: 2.008 MB / 360.2 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.137, allocations: 3.938 kB / 360.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.1374, allocations: 91.88 kB / 360.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.1376, allocations: 100.8 kB / 360.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.1377, allocations: 11.98 kB / 360.4 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.1396, allocations: 2.162 MB / 362.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1397, allocations: 0 / 362.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.1413, allocations: 1.227 MB / 363.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.1415, allocations: 160.2 kB / 363.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.1416, allocations: 8 kB / 363.9 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.142, allocations: 51.95 kB / 364 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/0.1421, allocations: 44.44 kB / 364 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.1422, allocations: 12.25 kB / 364 MB, free: 15.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006791/0.1428, allocations: 0.581 MB / 364.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1428, allocations: 0 / 364.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000711/0.1436, allocations: 208 kB / 364.8 MB, free: 14.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (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 (41): * Single equations (assignments): 40 * 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.001957/0.1455, allocations: 1.921 MB / 366.7 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.147, allocations: 0.832 MB / 367.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.147, allocations: 4.625 kB / 367.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007081/0.1477, allocations: 492.9 kB / 368.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.1484, allocations: 167.1 kB / 368.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008787/0.1572, allocations: 7.754 MB / 376 MB, free: 3.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/0.1581, allocations: 1.36 MB / 377.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004324/0.1585, allocations: 181.7 kB / 377.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/0.159, allocations: 375.3 kB / 377.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.159, allocations: 0 / 377.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1864/0.3454, allocations: 17.81 MB / 395.7 MB, free: 45.71 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/0.3456, allocations: 203.1 kB / 395.9 MB, free: 45.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.326, allocations: 0 / 395.9 MB, free: 45.48 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYY.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat