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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 207.8 kB / 19.25 MB, free: 3.941 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.424/1.424, allocations: 227.7 MB / 247.7 MB, free: 10.38 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.001916/0.001916, allocations: 66.97 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09381, allocations: 50.52 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006758/0.1006, allocations: 5.084 MB / 363.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.1039, allocations: 1.85 MB / 365.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.1042, allocations: 15.94 kB / 365.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002666/0.1069, allocations: 1.178 MB / 366.5 MB, free: 5.809 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.1087, allocations: 0.6173 MB / 367.2 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.11, allocations: 0.6183 MB / 367.8 MB, free: 4.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000884/0.1109, allocations: 0.7427 MB / 368.5 MB, free: 3.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009107/0.1118, allocations: 0.5863 MB / 369.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.1123, allocations: 334.7 kB / 369.4 MB, free: 2.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/0.1128, allocations: 418.3 kB / 369.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.499e-05/0.1129, allocations: 64 kB / 369.9 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.1134, allocations: 255.8 kB / 370.2 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1136, allocations: 167.4 kB / 370.3 MB, free: 2.027 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.114, allocations: 374.1 kB / 370.7 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.1151, allocations: 1.012 MB / 371.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1151, allocations: 0 / 371.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1151, allocations: 4 kB / 371.7 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1152, allocations: 0 / 371.7 MB, free: 0.6406 MB / 302.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.1466/0.2617, allocations: 1.381 MB / 373.1 MB, free: 19.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2618, allocations: 9.594 kB / 373.1 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006012/0.2678, allocations: 0.828 MB / 373.9 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.2683, allocations: 419.6 kB / 374.3 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.2684, allocations: 57 kB / 374.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.2685, allocations: 77.69 kB / 374.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.2699, allocations: 0.7671 MB / 375.2 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.2699, allocations: 1.641 kB / 375.2 MB, free: 19.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.27, allocations: 40.5 kB / 375.3 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.27, allocations: 18.97 kB / 375.3 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.2715, allocations: 0.8982 MB / 376.2 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/0.2749, allocations: 2.77 MB / 379 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.2768, allocations: 2.193 MB / 381.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/0.2773, allocations: 339.3 kB / 381.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.2774, allocations: 182.8 kB / 381.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2775, allocations: 42.55 kB / 381.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.785e-06/0.2775, allocations: 1.094 kB / 381.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.003304/0.2808, allocations: 1.333 MB / 383 MB, free: 14.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.2808, allocations: 63.69 kB / 383.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.2811, allocations: 296.7 kB / 383.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.2811, allocations: 35.17 kB / 383.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.2812, allocations: 290.6 kB / 383.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.2814, allocations: 251.2 kB / 384 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.2816, allocations: 123.7 kB / 384.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.2816, allocations: 354.2 kB / 384.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.282, allocations: 233.1 kB / 384.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.2825, allocations: 363.9 kB / 385 MB, free: 12.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000883/0.2834, allocations: 0.6272 MB / 385.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2834, allocations: 5.219 kB / 385.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001572/0.285, allocations: 0.8641 MB / 386.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.285, allocations: 6.594 kB / 386.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.285, allocations: 2.875 kB / 386.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007457/0.2858, allocations: 210 kB / 386.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.2863, allocations: 130.7 kB / 386.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.289, allocations: 2.706 MB / 389.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.2894, allocations: 69.14 kB / 389.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.2894, allocations: 25.92 kB / 389.6 MB, free: 9.992 MB / 302.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.0002162/0.2897, allocations: 203.8 kB / 389.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.233e-05/0.2898, allocations: 45.41 kB / 389.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.2915, allocations: 0.9064 MB / 390.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.2915, allocations: 8.859 kB / 390.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2915, allocations: 3.094 kB / 390.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.2915, allocations: 5 kB / 390.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.2939, allocations: 1.703 MB / 392.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2939, allocations: 1.438 kB / 392.5 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.2944, allocations: 109.9 kB / 392.6 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006379/0.295, allocations: 203.7 kB / 392.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.2951, allocations: 17.41 kB / 392.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/0.2976, allocations: 2.706 MB / 395.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2976, allocations: 0 / 395.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.2995, allocations: 1.257 MB / 396.8 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.2996, allocations: 134.6 kB / 396.9 MB, free: 5.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.2997, allocations: 16.81 kB / 396.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.3, allocations: 24.64 kB / 397 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.3001, allocations: 53.92 kB / 397 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.3002, allocations: 24.03 kB / 397 MB, free: 5.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.3004, allocations: 206.9 kB / 397.2 MB, free: 5.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3004, allocations: 0 / 397.2 MB, free: 5.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007033/0.3011, allocations: 237 kB / 397.5 MB, free: 5.145 MB / 302.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.0002137/0.3013, allocations: 155.2 kB / 397.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.3029, allocations: 0.873 MB / 398.5 MB, free: 4.551 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3029, allocations: 3.938 kB / 398.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007133/0.3037, allocations: 0.5507 MB / 399.1 MB, free: 4.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.3041, allocations: 61.86 kB / 399.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3056, allocations: 1.188 MB / 400.3 MB, free: 3.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.3059, allocations: 0.8913 MB / 401.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.306, allocations: 58.89 kB / 401.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.306, allocations: 0 / 401.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of Templates: time 0.01194/0.318, allocations: 9.861 MB / 411.1 MB, free: 9.383 MB / 318.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile (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)