Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.009211/0.009211, allocations: 174 kB / 16.27 MB, free: 6.676 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.367/1.367, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.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.0004387/0.0004387, allocations: 16 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2186, allocations: 47.58 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002996/0.2216, allocations: 2.891 MB / 329.9 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.2237, allocations: 1.31 MB / 331.2 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.2238, allocations: 8.219 kB / 331.2 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.2242, allocations: 120.1 kB / 331.4 MB, free: 14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007631/0.2249, allocations: 329.6 kB / 331.7 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.2254, allocations: 238.8 kB / 331.9 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005565/0.226, allocations: 422.1 kB / 332.3 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.2262, allocations: 125.6 kB / 332.4 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.2264, allocations: 143.1 kB / 332.6 MB, free: 13.2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.2267, allocations: 186.5 kB / 332.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.2267, allocations: 22.62 kB / 332.8 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.227, allocations: 141.5 kB / 332.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.2271, allocations: 69.91 kB / 333 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.2273, allocations: 198.4 kB / 333.2 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.2278, allocations: 0.5039 MB / 333.7 MB, free: 12.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2278, allocations: 0 / 333.7 MB, free: 12.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2278, allocations: 0 / 333.7 MB, free: 12.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2278, allocations: 0 / 333.7 MB, free: 12.45 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001308/0.2292, allocations: 0.6768 MB / 334.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2292, allocations: 9.5 kB / 334.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/0.2298, allocations: 96.88 kB / 334.5 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.2301, allocations: 314 kB / 334.8 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.2302, allocations: 25.38 kB / 334.8 MB, free: 11.49 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.2302, allocations: 32.38 kB / 334.8 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005774/0.2308, allocations: 365.6 kB / 335.2 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2309, allocations: 4 kB / 335.2 MB, free: 11.09 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.2309, allocations: 8 kB / 335.2 MB, free: 11.08 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.2309, allocations: 12 kB / 335.2 MB, free: 11.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.2314, allocations: 246.1 kB / 335.5 MB, free: 10.83 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.2333, allocations: 1.339 MB / 336.8 MB, free: 9.391 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.2337, allocations: 209.1 kB / 337 MB, free: 9.168 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.2339, allocations: 89.69 kB / 337.1 MB, free: 9.074 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007143/0.2346, allocations: 0.8635 MB / 338 MB, free: 8.109 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.2346, allocations: 42.5 kB / 338 MB, free: 8.059 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.2346, allocations: 0 / 338 MB, free: 8.059 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005291/0.2352, allocations: 229.4 kB / 338.2 MB, free: 7.828 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.2352, allocations: 88.98 kB / 338.3 MB, free: 7.723 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.2355, allocations: 291 kB / 338.6 MB, free: 7.434 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.2355, allocations: 29.7 kB / 338.6 MB, free: 7.398 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.2357, allocations: 227.5 kB / 338.8 MB, free: 7.172 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.2357, allocations: 63.09 kB / 338.9 MB, free: 7.109 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.2358, allocations: 37.7 kB / 338.9 MB, free: 7.066 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2359, allocations: 334.8 kB / 339.3 MB, free: 6.73 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.2361, allocations: 72.61 kB / 339.3 MB, free: 6.656 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.2363, allocations: 206.4 kB / 339.5 MB, free: 6.395 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.2367, allocations: 312.8 kB / 339.8 MB, free: 6.027 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2367, allocations: 0 / 339.8 MB, free: 6.027 MB / 270.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005007/0.2372, allocations: 317.4 kB / 340.2 MB, free: 5.711 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2373, allocations: 7.938 kB / 340.2 MB, free: 5.703 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2373, allocations: 8 kB / 340.2 MB, free: 5.695 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2373, allocations: 4 kB / 340.2 MB, free: 5.691 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.2376, allocations: 91.81 kB / 340.3 MB, free: 5.602 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2376, allocations: 11.94 kB / 340.3 MB, free: 5.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.2378, allocations: 39.75 kB / 340.3 MB, free: 5.551 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.2378, allocations: 16 kB / 340.3 MB, free: 5.535 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.238, allocations: 161.6 kB / 340.5 MB, free: 5.367 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.238, allocations: 27.62 kB / 340.5 MB, free: 5.34 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.2381, allocations: 29.73 kB / 340.5 MB, free: 5.309 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2381, allocations: 3.938 kB / 340.5 MB, free: 5.305 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.2381, allocations: 4 kB / 340.5 MB, free: 5.301 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2381, allocations: 4 kB / 340.6 MB, free: 5.297 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/0.2388, allocations: 0.5069 MB / 341.1 MB, free: 4.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2388, allocations: 0 / 341.1 MB, free: 4.73 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.239, allocations: 59.84 kB / 341.1 MB, free: 4.672 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.239, allocations: 0 / 341.1 MB, free: 4.672 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2391, allocations: 4.031 kB / 341.1 MB, free: 4.668 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.2391, allocations: 4 kB / 341.1 MB, free: 4.664 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2391, allocations: 0 / 341.1 MB, free: 4.664 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.2396, allocations: 428 kB / 341.5 MB, free: 4.227 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.2397, allocations: 104.8 kB / 341.6 MB, free: 4.105 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.2398, allocations: 12 kB / 341.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.24, allocations: 19.98 kB / 341.7 MB, free: 4.074 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.24, allocations: 15.98 kB / 341.7 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.24, allocations: 4 kB / 341.7 MB, free: 4.055 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.2402, allocations: 198 kB / 341.9 MB, free: 3.859 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2402, allocations: 0 / 341.9 MB, free: 3.859 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.2406, allocations: 87.69 kB / 342 MB, free: 3.773 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001623/0.2408, allocations: 111.2 kB / 342.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000402/0.2412, allocations: 192.6 kB / 342.3 MB, free: 3.469 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.2412, allocations: 4.312 kB / 342.3 MB, free: 3.465 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.2414, allocations: 83.78 kB / 342.4 MB, free: 3.383 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.2418, allocations: 28.83 kB / 342.4 MB, free: 3.355 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.243, allocations: 0.8449 MB / 343.2 MB, free: 2.48 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.2434, allocations: 0.7718 MB / 344 MB, free: 1.684 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.2435, allocations: 38.94 kB / 344 MB, free: 1.645 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.2436, allocations: 23.44 kB / 344.1 MB, free: 1.621 MB / 270.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2436, allocations: 3.938 kB / 344.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of Templates: time 0.005545/0.2491, allocations: 2.164 MB / 346.2 MB, free: 15.46 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1)