Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.2 MB / 245 MB, free: 7.645 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009037/0.0009037, allocations: 108 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002274/0.0002274, allocations: 12 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2196, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.3254, allocations: 97.1 MB / 0.4947 GB, free: 9.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.3257, allocations: 92.92 kB / 0.4948 GB, free: 9.387 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.942/1.268, allocations: 333.2 MB / 0.8202 GB, free: 9.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.268, allocations: 8 kB / 0.8202 GB, free: 9.332 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004534/1.268, allocations: 175.9 kB / 0.8204 GB, free: 9.16 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03323/1.301, allocations: 9.923 MB / 0.8301 GB, free: 15.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/1.302, allocations: 12.02 kB / 0.8301 GB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006832/1.308, allocations: 1.312 MB / 0.8314 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02975/1.338, allocations: 5.557 MB / 0.8368 GB, free: 8.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.355, allocations: 6.327 MB / 0.843 GB, free: 1.852 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006874/1.356, allocations: 0.618 MB / 0.8436 GB, free: 1.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003447/1.36, allocations: 0.8045 MB / 0.8444 GB, free: 436 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4574/1.817, allocations: 15.7 MB / 0.8597 GB, free: 59.08 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002674/1.817, allocations: 12.11 kB / 0.8597 GB, free: 59.08 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002086/1.819, allocations: 351.5 kB / 0.86 GB, free: 59.08 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007954/1.82, allocations: 0.8253 MB / 0.8608 GB, free: 59.05 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02937/1.85, allocations: 14.59 MB / 0.8751 GB, free: 58.96 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08477/1.934, allocations: 48.5 MB / 0.9225 GB, free: 41.96 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01598/1.95, allocations: 19.27 MB / 0.9413 GB, free: 26.45 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005995/1.951, allocations: 266.5 kB / 0.9415 GB, free: 26.26 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.31e-05/1.951, allocations: 88.58 kB / 0.9416 GB, free: 26.18 MB / 458.8 MB Notification: Performance of pre-optimization done (n=468): time 9.869e-06/1.951, allocations: 0 / 0.9416 GB, free: 26.18 MB / 458.8 MB Notification: Performance of matching and sorting (n=468): time 0.02359/1.975, allocations: 11.47 MB / 0.9528 GB, free: 22.18 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/1.975, allocations: 125.6 kB / 0.9529 GB, free: 22.09 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009081/1.984, allocations: 3.451 MB / 0.9563 GB, free: 20.9 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00114/1.985, allocations: 103.8 kB / 0.9564 GB, free: 20.81 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00255/1.988, allocations: 3.896 MB / 0.9602 GB, free: 18.03 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002041/1.99, allocations: 1.615 MB / 0.9618 GB, free: 16.79 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/1.991, allocations: 144 kB / 0.9619 GB, free: 16.68 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0007672/1.992, allocations: 0.6166 MB / 0.9625 GB, free: 16.24 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005927/1.998, allocations: 3.649 MB / 0.9661 GB, free: 14.96 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007837/2.006, allocations: 6.457 MB / 0.9724 GB, free: 10.02 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007643/2.013, allocations: 5.183 MB / 0.9775 GB, free: 6.254 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/2.013, allocations: 28 kB / 0.9775 GB, free: 6.227 MB / 458.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02842/2.042, allocations: 12.14 MB / 0.9893 GB, free: 13.19 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/2.042, allocations: 44 kB / 0.9894 GB, free: 13.15 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000261/2.042, allocations: 92 kB / 0.9895 GB, free: 13.06 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005346/2.048, allocations: 1.625 MB / 0.9911 GB, free: 11.95 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007739/2.055, allocations: 1.656 MB / 0.9927 GB, free: 10.53 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/2.077, allocations: 16.56 MB / 1.009 GB, free: 11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006624/2.083, allocations: 0.9514 MB / 1.01 GB, free: 10.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/2.085, allocations: 357.8 kB / 1.01 GB, free: 9.789 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009569/2.095, allocations: 3.751 MB / 1.014 GB, free: 6.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/2.096, allocations: 391.1 kB / 1.014 GB, free: 6.273 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2714/2.368, allocations: 8.528 MB / 1.022 GB, free: 81.81 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.97e-05/2.368, allocations: 48.69 kB / 1.023 GB, free: 81.81 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.967e-05/2.368, allocations: 19.28 kB / 1.023 GB, free: 81.81 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/2.368, allocations: 24.56 kB / 1.023 GB, free: 81.81 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03288/2.401, allocations: 16.85 MB / 1.039 GB, free: 80.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/2.401, allocations: 5.344 kB / 1.039 GB, free: 80.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003178/2.404, allocations: 0.8572 MB / 1.04 GB, free: 80.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/2.408, allocations: 1.492 MB / 1.041 GB, free: 80.8 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004657/2.409, allocations: 103.8 kB / 1.041 GB, free: 80.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01449/2.423, allocations: 16.36 MB / 1.057 GB, free: 72.82 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/2.423, allocations: 6.375 kB / 1.057 GB, free: 72.82 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/2.439, allocations: 12.34 MB / 1.069 GB, free: 71.68 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/2.441, allocations: 1.122 MB / 1.071 GB, free: 71.37 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005561/2.442, allocations: 86.06 kB / 1.071 GB, free: 71.37 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/2.444, allocations: 312.5 kB / 1.071 GB, free: 71.37 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006281/2.445, allocations: 316.1 kB / 1.071 GB, free: 71.36 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003018/2.445, allocations: 138.5 kB / 1.071 GB, free: 71.36 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.003367/2.448, allocations: 2.542 MB / 1.074 GB, free: 71.22 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.31e-07/2.448, allocations: 0 / 1.074 GB, free: 71.22 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007174/2.455, allocations: 2.401 MB / 1.076 GB, free: 70.97 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_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 (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01812/2.474, allocations: 13.63 MB / 1.09 GB, free: 68.81 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01295/2.487, allocations: 9.283 MB / 1.099 GB, free: 67.52 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/2.487, allocations: 0 / 1.099 GB, free: 67.52 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006/2.493, allocations: 4.446 MB / 1.103 GB, free: 65.55 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/2.496, allocations: 0.6334 MB / 1.104 GB, free: 65.34 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0933/2.589, allocations: 112.1 MB / 1.213 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2573/2.847, allocations: 6.365 MB / 1.219 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008271/2.855, allocations: 3.296 MB / 1.222 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005202/2.86, allocations: 3.006 MB / 1.225 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.392e-06/2.86, allocations: 2.812 kB / 1.225 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1618/3.022, allocations: 121.4 MB / 1.344 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/3.022, allocations: 238.2 kB / 1.344 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.337/8.359, allocations: 7.391 kB / 1.344 GB, free: 62.74 MB / 0.5105 GB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1)