Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7146/0.7146, allocations: 110.7 MB / 118 MB, free: 14.6 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002241/0.002241, allocations: 152 kB / 143.7 MB, free: 4.926 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.074e-06, allocations: 0 / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04303/0.04305, allocations: 25.16 MB / 198.6 MB, free: 13.96 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.1797, allocations: 36.16 MB / 234.8 MB, free: 4.742 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001417/0.1799, allocations: 68.16 kB / 234.8 MB, free: 4.742 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.01964/0.1996, allocations: 7.684 MB / 242.5 MB, free: 3.613 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.1996, allocations: 11.62 kB / 242.5 MB, free: 3.613 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001242/0.2009, allocations: 0.7281 MB / 243.3 MB, free: 3.055 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2009, allocations: 7.781 kB / 243.3 MB, free: 3.055 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.2011, allocations: 62.31 kB / 243.3 MB, free: 3.023 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.2016, allocations: 358.1 kB / 243.7 MB, free: 2.75 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2016, allocations: 15.47 kB / 243.7 MB, free: 2.75 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.2017, allocations: 30.91 kB / 243.7 MB, free: 2.746 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004889/0.2022, allocations: 270.4 kB / 244 MB, free: 2.73 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.2028, allocations: 380.4 kB / 244.4 MB, free: 2.613 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.2028, allocations: 3.906 kB / 244.4 MB, free: 2.609 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.2028, allocations: 0 / 244.4 MB, free: 2.609 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.2029, allocations: 11.59 kB / 244.4 MB, free: 2.609 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.2052, allocations: 1.613 MB / 246 MB, free: 1.602 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.2054, allocations: 172.6 kB / 246.2 MB, free: 1.555 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.2056, allocations: 117.5 kB / 246.3 MB, free: 1.531 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.2056, allocations: 4.125 kB / 246.3 MB, free: 1.531 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.2056, allocations: 34.44 kB / 246.3 MB, free: 1.492 MB / 170.7 MB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.2056, allocations: 3.609 kB / 246.3 MB, free: 1.492 MB / 170.7 MB Notification: Performance of matching and sorting (n=31): time 0.001088/0.2067, allocations: 0.6986 MB / 247 MB, free: 1.027 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.2067, allocations: 80.98 kB / 247.1 MB, free: 0.9336 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.207, allocations: 305.7 kB / 247.4 MB, free: 0.8125 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.207, allocations: 29.58 kB / 247.4 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.2071, allocations: 252 kB / 247.7 MB, free: 0.582 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.2072, allocations: 105.6 kB / 247.8 MB, free: 0.5 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.2072, allocations: 0.75 kB / 247.8 MB, free: 0.5 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.2073, allocations: 345.8 kB / 248.1 MB, free: 180 kB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.2074, allocations: 77.56 kB / 248.2 MB, free: 180 kB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.2075, allocations: 169.3 kB / 248.4 MB, free: 64 kB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.2077, allocations: 98.92 kB / 248.5 MB, free: 52 kB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2077, allocations: 4 kB / 248.5 MB, free: 48 kB / 170.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005757/0.2083, allocations: 367.1 kB / 248.8 MB, free: 15.93 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2083, allocations: 3.875 kB / 248.8 MB, free: 15.93 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2083, allocations: 11.72 kB / 248.8 MB, free: 15.92 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.2086, allocations: 80.58 kB / 248.9 MB, free: 15.88 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.2089, allocations: 78.11 kB / 249 MB, free: 15.86 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.2111, allocations: 2.717 MB / 251.7 MB, free: 13.29 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.2114, allocations: 15.64 kB / 251.7 MB, free: 13.28 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.2114, allocations: 19 kB / 251.7 MB, free: 13.28 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor22.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real basicTransformer.i2:VARIABLE(unit = "A" ) "Current flowing from pos. to neg. pin of the right port" type: Real basicTransformer.i1:VARIABLE(unit = "A" ) "Current flowing from pos. to neg. pin of the left port" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.2116, allocations: 121.2 kB / 251.9 MB, free: 13.16 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.619e-05/0.2117, allocations: 42.47 kB / 251.9 MB, free: 13.13 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.594e-05/0.2117, allocations: 49.64 kB / 251.9 MB, free: 13.11 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2117, allocations: 3.812 kB / 251.9 MB, free: 13.11 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2118, allocations: 0 / 251.9 MB, free: 13.11 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2118, allocations: 0 / 251.9 MB, free: 13.11 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2128, allocations: 0.8025 MB / 252.7 MB, free: 12.62 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2128, allocations: 3.984 kB / 252.8 MB, free: 12.61 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.213, allocations: 49.7 kB / 252.8 MB, free: 12.61 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002344/0.2133, allocations: 72.44 kB / 252.9 MB, free: 12.57 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.2133, allocations: 7.859 kB / 252.9 MB, free: 12.56 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.2154, allocations: 2.711 MB / 255.6 MB, free: 10 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2154, allocations: 1.344 kB / 255.6 MB, free: 10 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006702/0.2161, allocations: 0.5388 MB / 256.1 MB, free: 9.707 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.2162, allocations: 138.5 kB / 256.3 MB, free: 9.578 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.2163, allocations: 1.281 kB / 256.3 MB, free: 9.578 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.2167, allocations: 34.78 kB / 256.3 MB, free: 9.566 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.2167, allocations: 13.98 kB / 256.3 MB, free: 9.562 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.2168, allocations: 11.52 kB / 256.3 MB, free: 9.559 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0002336/0.217, allocations: 237.3 kB / 256.6 MB, free: 9.469 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005565/0.2176, allocations: 100.9 kB / 256.7 MB, free: 9.469 MB / 186.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.2177, allocations: 105.2 kB / 256.8 MB, free: 9.375 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000689/0.2184, allocations: 450.2 kB / 257.2 MB, free: 9.145 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2184, allocations: 0 / 257.2 MB, free: 9.145 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004813/0.2189, allocations: 348.1 kB / 257.5 MB, free: 8.91 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.2194, allocations: 60.83 kB / 257.6 MB, free: 8.895 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2209, allocations: 0.662 MB / 258.3 MB, free: 8.496 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.2214, allocations: 0.8793 MB / 259.1 MB, free: 7.711 MB / 186.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2214, allocations: 0 / 259.1 MB, free: 7.711 MB / 186.7 MB Notification: Performance of Templates: time 0.009003/0.2304, allocations: 4.099 MB / 263.2 MB, free: 5.684 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1)