Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000986/0.0009863, allocations: 96.73 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.8 MB / 246.9 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002316/0.0002317, allocations: 8 kB / 307.8 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09392, allocations: 51.53 MB / 359.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.00547/0.09943, allocations: 4.613 MB / 363.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.1023, allocations: 1.776 MB / 365.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.1025, allocations: 19.94 kB / 365.7 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.1031, allocations: 235 kB / 366 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.1044, allocations: 0.5557 MB / 366.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.1057, allocations: 0.5817 MB / 367.1 MB, free: 5.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008239/0.1065, allocations: 0.7193 MB / 367.8 MB, free: 4.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.1085, allocations: 1.065 MB / 368.9 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.1089, allocations: 290.7 kB / 369.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004408/0.1094, allocations: 378.4 kB / 369.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.1094, allocations: 32 kB / 369.6 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/0.1099, allocations: 219.8 kB / 369.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.11, allocations: 139.3 kB / 369.9 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003366/0.1104, allocations: 355.8 kB / 370.3 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.1115, allocations: 0.9885 MB / 371.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1115, allocations: 0 / 371.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1115, allocations: 0 / 371.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1115, allocations: 0 / 371.3 MB, free: 1.25 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.1544/0.2659, allocations: 1.238 MB / 372.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2659, allocations: 9.125 kB / 372.5 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006122/0.2721, allocations: 0.7834 MB / 373.3 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.2726, allocations: 415.6 kB / 373.7 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.2727, allocations: 63.78 kB / 373.8 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.2728, allocations: 82.98 kB / 373.8 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.2742, allocations: 0.7723 MB / 374.6 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.2743, allocations: 5.719 kB / 374.6 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/0.2744, allocations: 35.41 kB / 374.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.2744, allocations: 18.94 kB / 374.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.276, allocations: 0.9238 MB / 375.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.2796, allocations: 2.793 MB / 378.4 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.2815, allocations: 2.19 MB / 380.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005044/0.282, allocations: 349.3 kB / 380.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.2821, allocations: 186 kB / 381.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.2821, allocations: 48.62 kB / 381.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.505e-06/0.2822, allocations: 3.984 kB / 381.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.003492/0.2857, allocations: 1.366 MB / 382.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.2857, allocations: 59.78 kB / 382.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.286, allocations: 293.8 kB / 382.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.286, allocations: 39.77 kB / 382.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.2862, allocations: 291.1 kB / 383.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.2863, allocations: 252.8 kB / 383.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.2864, allocations: 61.03 kB / 383.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.2865, allocations: 354.5 kB / 383.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.2869, allocations: 240.5 kB / 384.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.2874, allocations: 369.4 kB / 384.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000947/0.2884, allocations: 0.6453 MB / 385.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2884, allocations: 5.219 kB / 385.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00168/0.2901, allocations: 0.8752 MB / 386 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2901, allocations: 11.19 kB / 386 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2901, allocations: 3.406 kB / 386 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007668/0.2909, allocations: 203.1 kB / 386.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.2914, allocations: 134.5 kB / 386.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/0.294, allocations: 2.468 MB / 388.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.2945, allocations: 70.38 kB / 388.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.2945, allocations: 31.2 kB / 388.9 MB, free: 9.73 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.0002184/0.2947, allocations: 200.3 kB / 389.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.2948, allocations: 46.05 kB / 389.1 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.2967, allocations: 0.9072 MB / 390 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.2967, allocations: 8.156 kB / 390 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2967, allocations: 6.969 kB / 390 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.2967, allocations: 3.797 kB / 390 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.2994, allocations: 1.726 MB / 391.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2995, allocations: 3.938 kB / 391.8 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.2999, allocations: 120.8 kB / 391.9 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006679/0.3006, allocations: 202.9 kB / 392.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.3007, allocations: 20.64 kB / 392.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/0.3031, allocations: 2.447 MB / 394.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3031, allocations: 0 / 394.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.3052, allocations: 1.275 MB / 395.8 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.3053, allocations: 139.4 kB / 396 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.3054, allocations: 16.12 kB / 396 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.3057, allocations: 26.89 kB / 396 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3058, allocations: 54.64 kB / 396.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.3059, allocations: 23.83 kB / 396.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.3061, allocations: 214.5 kB / 396.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3061, allocations: 0 / 396.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006958/0.3068, allocations: 230.8 kB / 396.5 MB, free: 5.168 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.0002075/0.307, allocations: 152.3 kB / 396.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.3084, allocations: 0.8663 MB / 397.5 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3084, allocations: 0.6875 kB / 397.5 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.3091, allocations: 0.5551 MB / 398.1 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.3096, allocations: 65.11 kB / 398.2 MB, free: 4.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.3111, allocations: 1.512 MB / 399.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.3113, allocations: 0.8908 MB / 400.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000294/0.3116, allocations: 77.5 kB / 400.6 MB, free: 2.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.3118, allocations: 49.11 kB / 400.7 MB, free: 2.293 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3118, allocations: 0 / 400.7 MB, free: 2.293 MB / 302.1 MB Notification: Performance of Templates: time 0.0121/0.3239, allocations: 6.781 MB / 407.5 MB, free: 12.19 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1)