Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.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: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 98.11 kB / 16.5 MB, free: 6.641 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.001418/0.001418, allocations: 195 kB / 17.42 MB, free: 6.066 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.568/1.568, allocations: 205.1 MB / 223.3 MB, free: 12.45 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.00175/0.00175, allocations: 47.92 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1721, allocations: 46.64 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.006328/0.1786, allocations: 4.064 MB / 330 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.1812, allocations: 0.92 MB / 330.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.1816, allocations: 8 kB / 330.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.1819, allocations: 71.44 kB / 331 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003957/0.1823, allocations: 146.8 kB / 331.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.1828, allocations: 123.9 kB / 331.3 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.1835, allocations: 0.642 MB / 331.9 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003759/0.1839, allocations: 175.9 kB / 332.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.1842, allocations: 243 kB / 332.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.1846, allocations: 274.7 kB / 332.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.986e-05/0.1847, allocations: 40 kB / 332.6 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.005e-05/0.1848, allocations: 36 kB / 332.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1849, allocations: 115.5 kB / 332.8 MB, free: 14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.1852, allocations: 286.5 kB / 333.1 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005954/0.1858, allocations: 0.6073 MB / 333.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1858, allocations: 4 kB / 333.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1858, allocations: 4 kB / 333.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1858, allocations: 0 / 333.7 MB, free: 13.1 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001827/0.1877, allocations: 0.8573 MB / 334.5 MB, free: 12.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.049e-05/0.1877, allocations: 8.031 kB / 334.6 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.1879, allocations: 68.19 kB / 334.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.1885, allocations: 371.6 kB / 335 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.1885, allocations: 33.38 kB / 335 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-05/0.1887, allocations: 52.38 kB / 335.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.1896, allocations: 487.5 kB / 335.5 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1896, allocations: 0 / 335.5 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.1897, allocations: 20 kB / 335.6 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.1897, allocations: 15.94 kB / 335.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.1904, allocations: 332.3 kB / 335.9 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.1932, allocations: 1.705 MB / 337.6 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.1936, allocations: 261.1 kB / 337.9 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.1939, allocations: 142 kB / 338 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.194, allocations: 7.906 kB / 338 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.012e-05/0.194, allocations: 38.5 kB / 338 MB, free: 8.512 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.1941, allocations: 4 kB / 338 MB, free: 8.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.002305/0.1964, allocations: 0.9425 MB / 339 MB, free: 7.488 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.1965, allocations: 81.11 kB / 339.1 MB, free: 7.391 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.1971, allocations: 389.6 kB / 339.4 MB, free: 7 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.1971, allocations: 33.7 kB / 339.5 MB, free: 6.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.1974, allocations: 283.5 kB / 339.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.1975, allocations: 118.3 kB / 339.9 MB, free: 6.562 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1977, allocations: 78.05 kB / 340 MB, free: 6.477 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002622/0.1979, allocations: 350.7 kB / 340.3 MB, free: 6.125 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.1982, allocations: 96.83 kB / 340.4 MB, free: 6.031 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.1985, allocations: 198.5 kB / 340.6 MB, free: 5.801 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.1991, allocations: 306.1 kB / 340.9 MB, free: 5.465 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1991, allocations: 0 / 340.9 MB, free: 5.465 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001097/0.2002, allocations: 446.3 kB / 341.3 MB, free: 5.016 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.538e-05/0.2003, allocations: 11.92 kB / 341.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.2003, allocations: 4 kB / 341.3 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/0.2008, allocations: 81.97 kB / 341.4 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.2011, allocations: 75.84 kB / 341.5 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.204, allocations: 2.853 MB / 344.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.2044, allocations: 19.91 kB / 344.4 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.2044, allocations: 16 kB / 344.4 MB, free: 1.688 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000318/0.2048, allocations: 169.7 kB / 344.5 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2049, allocations: 39.53 kB / 344.6 MB, free: 1.473 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-05/0.205, allocations: 47.45 kB / 344.6 MB, free: 1.422 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.205, allocations: 4 kB / 344.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.205, allocations: 4.188 kB / 344.6 MB, free: 1.414 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.205, allocations: 0 / 344.6 MB, free: 1.414 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.2065, allocations: 0.9435 MB / 345.6 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.2065, allocations: 0 / 345.6 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.2067, allocations: 51.91 kB / 345.6 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.207, allocations: 77.64 kB / 345.7 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.2071, allocations: 8 kB / 345.7 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.2097, allocations: 2.861 MB / 348.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2098, allocations: 0 / 348.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2108, allocations: 0.6208 MB / 349.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.211, allocations: 108.7 kB / 349.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.211, allocations: 11.94 kB / 349.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.2114, allocations: 35.97 kB / 349.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.2115, allocations: 19.97 kB / 349.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.2115, allocations: 12 kB / 349.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003378/0.2118, allocations: 275.2 kB / 349.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.2118, allocations: 0 / 349.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007462/0.2126, allocations: 116 kB / 349.8 MB, free: 11.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002333/0.2128, allocations: 115.2 kB / 349.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.2141, allocations: 0.4979 MB / 350.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.2141, allocations: 64 / 350.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007758/0.2149, allocations: 393.1 kB / 350.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008161/0.2157, allocations: 57.48 kB / 350.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.2183, allocations: 1.161 MB / 352 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/0.2191, allocations: 0.8392 MB / 352.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.2194, allocations: 43.28 kB / 352.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.813e-05/0.2195, allocations: 27.44 kB / 352.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of SimCode: time 1.443e-06/0.2195, allocations: 3.938 kB / 352.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of Templates: time 0.01146/0.2309, allocations: 4.42 MB / 357.3 MB, free: 4.254 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)