Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.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.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",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.0009725/0.0009722, allocations: 95.58 kB / 16.95 MB, free: 6.02 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.001166/0.001166, allocations: 178 kB / 17.84 MB, free: 5.668 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.687/1.687, allocations: 205.4 MB / 224 MB, free: 13.08 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.0004815/0.0004817, allocations: 15.94 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 47.58 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer): time 0.005576/0.1256, allocations: 5.017 MB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.1293, allocations: 1.727 MB / 335.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007869/0.1302, allocations: 20 kB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009023/0.1311, allocations: 210.8 kB / 335.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.1333, allocations: 0.6846 MB / 336.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.1341, allocations: 227.7 kB / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.1354, allocations: 0.817 MB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003152/0.1386, allocations: 1.506 MB / 338.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000627/0.1392, allocations: 314.7 kB / 339 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000819/0.1401, allocations: 466.2 kB / 339.4 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.1403, allocations: 43.94 kB / 339.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008151/0.1411, allocations: 191.8 kB / 339.7 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.1413, allocations: 151.3 kB / 339.8 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.1417, allocations: 177.3 kB / 340 MB, free: 8.359 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.1431, allocations: 0.9387 MB / 340.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1431, allocations: 0 / 340.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1431, allocations: 0 / 340.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.576e-05/0.1431, allocations: 4 kB / 340.9 MB, free: 7.414 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003714/0.1469, allocations: 1.252 MB / 342.2 MB, free: 6.109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1469, allocations: 8.031 kB / 342.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000383/0.1473, allocations: 168.9 kB / 342.3 MB, free: 5.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006569/0.1539, allocations: 0.9629 MB / 343.3 MB, free: 4.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.155, allocations: 453.7 kB / 343.7 MB, free: 4.477 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.1551, allocations: 78.17 kB / 343.8 MB, free: 4.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002959/0.1554, allocations: 107.9 kB / 343.9 MB, free: 4.293 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.1581, allocations: 1.121 MB / 345 MB, free: 3.133 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.1581, allocations: 8 kB / 345.1 MB, free: 3.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.1583, allocations: 40 kB / 345.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.241e-05/0.1583, allocations: 28 kB / 345.1 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.1607, allocations: 1.136 MB / 346.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006847/0.1675, allocations: 3.972 MB / 350.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003986/0.1716, allocations: 3.763 MB / 354 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.1721, allocations: 320.6 kB / 354.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.1723, allocations: 105.6 kB / 354.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.1723, allocations: 39.12 kB / 354.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 3.486e-06/0.1724, allocations: 0 / 354.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=71): time 0.001533/0.1739, allocations: 0.768 MB / 355.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.535e-05/0.174, allocations: 111.4 kB / 355.3 MB, free: 7.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.1744, allocations: 328.2 kB / 355.6 MB, free: 7.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/0.1745, allocations: 33.7 kB / 355.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.1748, allocations: 442 kB / 356.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.1751, allocations: 256.4 kB / 356.4 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.1752, allocations: 24.06 kB / 356.4 MB, free: 6.797 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.1754, allocations: 346.8 kB / 356.7 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000489/0.1759, allocations: 249.9 kB / 357 MB, free: 6.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007751/0.1767, allocations: 0.5709 MB / 357.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000663/0.1774, allocations: 331.1 kB / 357.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.1774, allocations: 3.938 kB / 357.9 MB, free: 5.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001771/0.1792, allocations: 0.9072 MB / 358.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.1792, allocations: 8 kB / 358.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/0.1793, allocations: 12 kB / 358.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.3e-05/0.1793, allocations: 16 kB / 358.8 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/0.1802, allocations: 239.6 kB / 359 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-05/0.1802, allocations: 27.92 kB / 359.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/0.1809, allocations: 103.2 kB / 359.2 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.184e-05/0.181, allocations: 55.88 kB / 359.2 MB, free: 3.793 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (122): * Single equations (assignments): 122 * 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.0004588/0.1814, allocations: 241.5 kB / 359.5 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.1816, allocations: 43.44 kB / 359.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.183, allocations: 0.694 MB / 360.2 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.183, allocations: 8 kB / 360.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.183, allocations: 0 / 360.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.183, allocations: 3.984 kB / 360.2 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/0.1861, allocations: 1.594 MB / 361.8 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.1861, allocations: 4 kB / 361.8 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.1867, allocations: 147.8 kB / 361.9 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.1867, allocations: 4 kB / 362 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.1868, allocations: 16 kB / 362 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.1868, allocations: 4 kB / 362 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.1868, allocations: 4 kB / 362 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.1885, allocations: 1.181 MB / 363.2 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.1887, allocations: 132.4 kB / 363.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/0.1888, allocations: 16 kB / 363.3 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.1892, allocations: 23.98 kB / 363.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.721e-05/0.1893, allocations: 48.59 kB / 363.4 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/0.1893, allocations: 20 kB / 363.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.1896, allocations: 215.1 kB / 363.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1896, allocations: 0 / 363.6 MB, free: 15.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001004/0.1906, allocations: 239.1 kB / 363.8 MB, free: 15.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (78): * Single equations (assignments): 78 * 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.002289/0.1929, allocations: 1.765 MB / 365.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.1942, allocations: 0.695 MB / 366.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1942, allocations: 4.125 kB / 366.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005126/0.1947, allocations: 319.6 kB / 366.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.1953, allocations: 45.09 kB / 366.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/0.2016, allocations: 3.645 MB / 370.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.2023, allocations: 0.9244 MB / 371.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004392/0.2028, allocations: 92.89 kB / 371.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.2032, allocations: 291.3 kB / 371.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of SimCode: time 1.452e-06/0.2032, allocations: 0 / 371.6 MB, free: 7.047 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/0.4427, allocations: 9.588 MB / 381.2 MB, free: 52.33 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.443, allocations: 212.2 kB / 381.4 MB, free: 52.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.551, allocations: 4 kB / 381.4 MB, free: 52.08 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat