Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.5/1.5, allocations: 230.4 MB / 251.1 MB, free: 8.449 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.83 kB / 369 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2293, allocations: 53.31 MB / 422.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006663/0.2359, allocations: 5.103 MB / 427.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.2396, allocations: 1.858 MB / 429.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.2402, allocations: 15.94 kB / 429.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.2432, allocations: 1.181 MB / 430.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.2449, allocations: 0.6292 MB / 431.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.2463, allocations: 0.6022 MB / 431.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000963/0.2473, allocations: 0.7467 MB / 432.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007425/0.248, allocations: 455.9 kB / 432.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000442/0.2485, allocations: 338.6 kB / 433.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.249, allocations: 426.3 kB / 433.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.249, allocations: 64 kB / 433.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.2496, allocations: 255.8 kB / 433.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.2497, allocations: 171.4 kB / 434.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.2501, allocations: 370.1 kB / 434.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.2514, allocations: 1.023 MB / 435.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2514, allocations: 0 / 435.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2514, allocations: 0 / 435.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.2514, allocations: 0 / 435.5 MB, free: 10.62 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003924/0.2553, allocations: 1.407 MB / 436.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2553, allocations: 8.031 kB / 436.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/0.2615, allocations: 0.7809 MB / 437.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.2621, allocations: 415.2 kB / 438.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/0.2622, allocations: 58.38 kB / 438.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.2623, allocations: 88.11 kB / 438.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.2639, allocations: 0.7765 MB / 439 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.2639, allocations: 3.953 kB / 439 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.264, allocations: 32 kB / 439 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.264, allocations: 16 kB / 439 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.2657, allocations: 0.9058 MB / 439.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/0.2701, allocations: 2.768 MB / 442.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.2727, allocations: 2.119 MB / 444.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.2732, allocations: 291.2 kB / 445.1 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.2734, allocations: 194.7 kB / 445.3 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.2735, allocations: 39.22 kB / 445.3 MB, free: 124 kB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.144e-06/0.2735, allocations: 3.938 kB / 445.4 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00385/0.2773, allocations: 1.339 MB / 446.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.2774, allocations: 64.05 kB / 446.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.2777, allocations: 286.9 kB / 447 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.2778, allocations: 45.64 kB / 447.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.278, allocations: 296.7 kB / 447.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.2782, allocations: 269.7 kB / 447.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.2784, allocations: 122.6 kB / 447.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2786, allocations: 358.7 kB / 448.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.2791, allocations: 233.9 kB / 448.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.2797, allocations: 358.5 kB / 448.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.2811, allocations: 0.6337 MB / 449.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2811, allocations: 0 / 449.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001883/0.283, allocations: 0.8607 MB / 450.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.283, allocations: 4 kB / 450.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.283, allocations: 4.188 kB / 450.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008044/0.2838, allocations: 216.6 kB / 450.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.2844, allocations: 131.8 kB / 450.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003622/0.288, allocations: 2.713 MB / 453.2 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.2884, allocations: 71.45 kB / 453.3 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.2885, allocations: 28.03 kB / 453.3 MB, free: 7.828 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002987/0.2888, allocations: 200 kB / 453.5 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2889, allocations: 51.67 kB / 453.6 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.291, allocations: 0.8897 MB / 454.5 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.291, allocations: 11.94 kB / 454.5 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.291, allocations: 4 kB / 454.5 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.291, allocations: 3.984 kB / 454.5 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.294, allocations: 1.695 MB / 456.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.294, allocations: 0 / 456.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.2945, allocations: 111.9 kB / 456.3 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007367/0.2952, allocations: 200.7 kB / 456.5 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.2953, allocations: 19.98 kB / 456.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/0.2989, allocations: 2.701 MB / 459.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2989, allocations: 7.984 kB / 459.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.3015, allocations: 1.261 MB / 460.5 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.3016, allocations: 128.7 kB / 460.6 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.092e-05/0.3017, allocations: 19.98 kB / 460.6 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.3021, allocations: 23.94 kB / 460.6 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3022, allocations: 60.56 kB / 460.7 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.3022, allocations: 20 kB / 460.7 MB, free: 180 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002599/0.3025, allocations: 210 kB / 460.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3025, allocations: 4 kB / 460.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007882/0.3033, allocations: 243.5 kB / 461.2 MB, free: 15.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000267/0.3036, allocations: 147.1 kB / 461.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.3052, allocations: 0.8085 MB / 462.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3052, allocations: 0 / 462.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009134/0.3061, allocations: 0.5066 MB / 462.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.3066, allocations: 64.86 kB / 462.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3086, allocations: 1.167 MB / 463.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.3092, allocations: 0.8891 MB / 464.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003184/0.3095, allocations: 76.53 kB / 464.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3097, allocations: 55.41 kB / 464.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3097, allocations: 3.938 kB / 464.9 MB, free: 11.92 MB / 382.1 MB Notification: Performance of Templates: time 0.01533/0.325, allocations: 7.779 MB / 472.7 MB, free: 4.18 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480]