Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.385/1.385, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.001145/0.001145, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1836, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004426/0.188, allocations: 3.736 MB / 329.1 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1903, allocations: 1.466 MB / 330.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.1905, allocations: 12.75 kB / 330.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.1922, allocations: 0.7574 MB / 331.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.1933, allocations: 0.5651 MB / 331.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.194, allocations: 419.8 kB / 332.3 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.1945, allocations: 485.8 kB / 332.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005578/0.1951, allocations: 392.6 kB / 333.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.1954, allocations: 212.4 kB / 333.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.1957, allocations: 285.6 kB / 333.6 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.1957, allocations: 44.22 kB / 333.7 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.1961, allocations: 207.8 kB / 333.9 MB, free: 11.35 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.143e-05/0.1962, allocations: 111.5 kB / 334 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.1964, allocations: 246.8 kB / 334.2 MB, free: 11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006978/0.1971, allocations: 0.6931 MB / 334.9 MB, free: 10.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1972, allocations: 4 kB / 334.9 MB, free: 10.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1972, allocations: 3.938 kB / 334.9 MB, free: 10.29 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.1972, allocations: 0 / 334.9 MB, free: 10.29 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002096/0.1993, allocations: 0.9364 MB / 335.8 MB, free: 9.309 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1993, allocations: 15.97 kB / 335.9 MB, free: 9.293 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004404/0.2037, allocations: 0.5779 MB / 336.4 MB, free: 8.715 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.2041, allocations: 311.7 kB / 336.7 MB, free: 8.371 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.2042, allocations: 45.69 kB / 336.8 MB, free: 8.324 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.76e-05/0.2043, allocations: 60.28 kB / 336.8 MB, free: 8.266 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.2052, allocations: 0.5531 MB / 337.4 MB, free: 7.711 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.2053, allocations: 7.984 kB / 337.4 MB, free: 7.703 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/0.2053, allocations: 27.98 kB / 337.4 MB, free: 7.676 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.2054, allocations: 16 kB / 337.4 MB, free: 7.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.2065, allocations: 0.6336 MB / 338.1 MB, free: 7.023 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/0.2094, allocations: 2.042 MB / 340.1 MB, free: 4.84 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.2119, allocations: 3.012 MB / 343.1 MB, free: 1.266 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.2123, allocations: 222.1 kB / 343.4 MB, free: 1.047 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.372e-05/0.2124, allocations: 93.53 kB / 343.4 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2124, allocations: 39 kB / 343.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of pre-optimization done (n=49): time 2.044e-06/0.2125, allocations: 0 / 343.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of matching and sorting (n=49): time 0.001889/0.2143, allocations: 0.7971 MB / 344.3 MB, free: 64 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2144, allocations: 59.83 kB / 344.3 MB, free: 15.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.2146, allocations: 198.3 kB / 344.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.2146, allocations: 29.7 kB / 344.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.2148, allocations: 248 kB / 344.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.2149, allocations: 161.6 kB / 345 MB, free: 15.35 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.215, allocations: 94.16 kB / 345 MB, free: 15.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2152, allocations: 346.8 kB / 345.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.2155, allocations: 161 kB / 345.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.2159, allocations: 270 kB / 345.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006959/0.2166, allocations: 468.5 kB / 346.3 MB, free: 13.94 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2166, allocations: 0 / 346.3 MB, free: 13.94 MB / 286.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00104/0.2176, allocations: 0.5787 MB / 346.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2176, allocations: 11.94 kB / 346.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2177, allocations: 4 kB / 346.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.218, allocations: 100.7 kB / 347 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.2184, allocations: 103.8 kB / 347.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.2204, allocations: 2.037 MB / 349.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.2207, allocations: 55.44 kB / 349.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.2208, allocations: 23.98 kB / 349.2 MB, free: 10.88 MB / 286.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 (58): * Single equations (assignments): 57 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.2209, allocations: 173.7 kB / 349.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.221, allocations: 23.72 kB / 349.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2221, allocations: 0.5667 MB / 349.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2221, allocations: 4 kB / 349.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2221, allocations: 4 kB / 349.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.2221, allocations: 3.984 kB / 349.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.2238, allocations: 1.138 MB / 351.1 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2238, allocations: 0 / 351.1 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.2241, allocations: 75.91 kB / 351.2 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.2244, allocations: 88.8 kB / 351.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.2244, allocations: 12 kB / 351.3 MB, free: 8.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/0.2263, allocations: 2.054 MB / 353.3 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2264, allocations: 0 / 353.3 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.2277, allocations: 0.7959 MB / 354.1 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.2278, allocations: 112.7 kB / 354.2 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.2278, allocations: 8 kB / 354.2 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.2281, allocations: 19.98 kB / 354.2 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.2282, allocations: 36.33 kB / 354.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.2282, allocations: 16 kB / 354.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.2283, allocations: 154.9 kB / 354.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2283, allocations: 4.062 kB / 354.5 MB, free: 5.344 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005951/0.2289, allocations: 159.5 kB / 354.6 MB, free: 5.188 MB / 286.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 (44): * 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: 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.2292, allocations: 131.2 kB / 354.7 MB, free: 5.047 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.2304, allocations: 0.6054 MB / 355.3 MB, free: 4.43 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2304, allocations: 8.188 kB / 355.3 MB, free: 4.422 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005626/0.231, allocations: 381 kB / 355.7 MB, free: 4.035 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.2314, allocations: 40.12 kB / 355.8 MB, free: 3.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2328, allocations: 0.8567 MB / 356.6 MB, free: 3.109 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.2331, allocations: 0.8171 MB / 357.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000218/0.2333, allocations: 55.27 kB / 357.5 MB, free: 2.219 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.2334, allocations: 35.42 kB / 357.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2334, allocations: 0 / 357.5 MB, free: 2.184 MB / 286.1 MB Notification: Performance of Templates: time 0.008747/0.2422, allocations: 4.426 MB / 361.9 MB, free: 13.75 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1)