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.0008163/0.0008165, allocations: 92.03 kB / 16.95 MB, free: 6.441 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.0009803/0.0009802, allocations: 181.2 kB / 17.84 MB, free: 6.008 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.698/1.698, allocations: 205.4 MB / 224 MB, free: 13.06 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.000487/0.0004871, allocations: 12 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 47.58 MB / 328.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.004633/0.1128, allocations: 3.191 MB / 331.6 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.1157, allocations: 0.9672 MB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000545/0.1163, allocations: 15.94 kB / 332.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1166, allocations: 111.2 kB / 332.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008041/0.1174, allocations: 246.8 kB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1177, allocations: 95.83 kB / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.1191, allocations: 1.487 MB / 334.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009417/0.1201, allocations: 0.7459 MB / 335.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.1208, allocations: 470.2 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008882/0.1217, allocations: 0.6303 MB / 336.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.1218, allocations: 76 kB / 336.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.122, allocations: 76 kB / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003235/0.1223, allocations: 354.9 kB / 336.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.1225, allocations: 269.1 kB / 337.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.124, allocations: 1.617 MB / 338.8 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.124, allocations: 0 / 338.8 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.124, allocations: 0 / 338.8 MB, free: 9.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.124, allocations: 0 / 338.8 MB, free: 9.594 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.002495/0.1265, allocations: 1.457 MB / 340.2 MB, free: 8.082 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1266, allocations: 12.03 kB / 340.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002214/0.1268, allocations: 173 kB / 340.4 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.1271, allocations: 142.3 kB / 340.5 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.1282, allocations: 0.7831 MB / 341.3 MB, free: 6.926 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.091e-05/0.1283, allocations: 86.22 kB / 341.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.1285, allocations: 111.9 kB / 341.5 MB, free: 6.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.131, allocations: 1.537 MB / 343.1 MB, free: 5.148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.131, allocations: 0 / 343.1 MB, free: 5.148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.1311, allocations: 48 kB / 343.1 MB, free: 5.102 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.1312, allocations: 28 kB / 343.1 MB, free: 5.074 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.1333, allocations: 1.312 MB / 344.4 MB, free: 3.754 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006335/0.1396, allocations: 4.248 MB / 348.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.1409, allocations: 1.314 MB / 350 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006823/0.1416, allocations: 467.4 kB / 350.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.1416, allocations: 8.375 kB / 350.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1416, allocations: 39 kB / 350.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=49): time 2.645e-06/0.1417, allocations: 0 / 350.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.003353/0.145, allocations: 1.977 MB / 352.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1451, allocations: 59.78 kB / 352.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.1462, allocations: 0.8126 MB / 353.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.1462, allocations: 33.7 kB / 353.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.1466, allocations: 0.5414 MB / 353.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1468, allocations: 177.4 kB / 354.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1468, allocations: 16 kB / 354.1 MB, free: 9.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.147, allocations: 386.7 kB / 354.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.1475, allocations: 312.9 kB / 354.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.148, allocations: 403.4 kB / 355.2 MB, free: 8.539 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.1486, allocations: 369.9 kB / 355.6 MB, free: 8.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1486, allocations: 4 kB / 355.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001441/0.1501, allocations: 0.9203 MB / 356.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.1501, allocations: 4 kB / 356.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1501, allocations: 8.281 kB / 356.5 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002857/0.1504, allocations: 108.8 kB / 356.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.1509, allocations: 127.8 kB / 356.7 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.1532, allocations: 2.181 MB / 358.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.1536, allocations: 32.06 kB / 358.9 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.1537, allocations: 19.94 kB / 359 MB, free: 4.629 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 (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.0007156/0.1544, allocations: 453.5 kB / 359.4 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.1545, allocations: 71.16 kB / 359.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.1547, allocations: 99.22 kB / 359.6 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1547, allocations: 8.062 kB / 359.6 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.1547, allocations: 3.938 kB / 359.6 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1547, allocations: 3.984 kB / 359.6 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/0.1579, allocations: 2.045 MB / 361.6 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1579, allocations: 0 / 361.6 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.1583, allocations: 95.83 kB / 361.7 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.1586, allocations: 108.7 kB / 361.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.1586, allocations: 12 kB / 361.8 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.1606, allocations: 2.131 MB / 364 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1607, allocations: 7.938 kB / 364 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.1624, allocations: 1.208 MB / 365.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.1627, allocations: 164.2 kB / 365.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.1628, allocations: 11.95 kB / 365.4 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.1633, allocations: 59.95 kB / 365.4 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1634, allocations: 40.38 kB / 365.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.1634, allocations: 16 kB / 365.5 MB, free: 13.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009057/0.1643, allocations: 0.5809 MB / 366 MB, free: 13.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1644, allocations: 0 / 366 MB, free: 13.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008915/0.1653, allocations: 212 kB / 366.3 MB, free: 13.05 MB / 318.1 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 () * Number of clocked 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.002189/0.1675, allocations: 1.776 MB / 368 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.1689, allocations: 0.8204 MB / 368.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.169, allocations: 192 / 368.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007469/0.1697, allocations: 0.4899 MB / 369.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009703/0.1707, allocations: 166.8 kB / 369.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.1822, allocations: 6.336 MB / 375.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.1837, allocations: 1.336 MB / 377.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005864/0.1843, allocations: 177.8 kB / 377.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/0.1849, allocations: 375.3 kB / 377.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of SimCode: time 1.302e-06/0.1849, allocations: 0 / 377.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/0.4245, allocations: 17.87 MB / 395.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/0.4246, allocations: 204.4 kB / 395.8 MB, free: 45.65 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/2.74, allocations: 0 / 395.8 MB, free: 45.65 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