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.001526/0.001525, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 246.4 MB, free: 9.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 60.53 kB / 306.4 MB, free: 0.7109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08653, allocations: 50.53 MB / 357 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006014/0.09257, allocations: 5.076 MB / 362.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.09553, allocations: 1.827 MB / 363.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004023/0.09597, allocations: 16 kB / 363.9 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.09848, allocations: 1.101 MB / 365 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.09989, allocations: 0.5595 MB / 365.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.1011, allocations: 0.5733 MB / 366.1 MB, free: 5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009032/0.102, allocations: 0.7621 MB / 366.9 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008748/0.1029, allocations: 0.6372 MB / 367.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.1034, allocations: 330.7 kB / 367.9 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.1038, allocations: 422.3 kB / 368.3 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.1038, allocations: 64 kB / 368.3 MB, free: 2.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00049/0.1043, allocations: 263.8 kB / 368.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1045, allocations: 163.4 kB / 368.7 MB, free: 2.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.1048, allocations: 378.1 kB / 369.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009165/0.1057, allocations: 1.008 MB / 370.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1057, allocations: 0 / 370.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1057, allocations: 0 / 370.1 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1057, allocations: 0 / 370.1 MB, free: 0.9922 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.1694/0.2751, allocations: 1.383 MB / 371.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.2752, allocations: 9.875 kB / 371.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00716/0.2823, allocations: 0.8288 MB / 372.3 MB, free: 19.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007425/0.2831, allocations: 414 kB / 372.7 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.2832, allocations: 60.12 kB / 372.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.2834, allocations: 76.89 kB / 372.9 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.2854, allocations: 0.7692 MB / 373.6 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.2854, allocations: 1.828 kB / 373.7 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.069e-05/0.2855, allocations: 33.84 kB / 373.7 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.2856, allocations: 19.72 kB / 373.7 MB, free: 19.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.2874, allocations: 0.8981 MB / 374.6 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004226/0.2917, allocations: 2.783 MB / 377.4 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.2936, allocations: 2.18 MB / 379.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/0.2942, allocations: 344.3 kB / 379.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.2943, allocations: 179.8 kB / 380.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.2944, allocations: 44.72 kB / 380.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.595e-06/0.2944, allocations: 0 / 380.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.003677/0.298, allocations: 1.34 MB / 381.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.2981, allocations: 61.34 kB / 381.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.2984, allocations: 293.9 kB / 381.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.2984, allocations: 36.73 kB / 381.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2986, allocations: 288.9 kB / 382.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.2987, allocations: 255.8 kB / 382.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.2989, allocations: 119.7 kB / 382.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.299, allocations: 354.3 kB / 382.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/0.2994, allocations: 233.8 kB / 383.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.2999, allocations: 366.9 kB / 383.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009055/0.3008, allocations: 0.6236 MB / 384 MB, free: 12.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3008, allocations: 5.062 kB / 384.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001731/0.3026, allocations: 0.8672 MB / 384.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3026, allocations: 7.844 kB / 384.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3026, allocations: 2.5 kB / 384.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007793/0.3034, allocations: 206.4 kB / 385.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.304, allocations: 130.8 kB / 385.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.3069, allocations: 2.714 MB / 388 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.3074, allocations: 69.19 kB / 388 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.3075, allocations: 30.2 kB / 388.1 MB, free: 9.988 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.0002257/0.3077, allocations: 205 kB / 388.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.3078, allocations: 46.34 kB / 388.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.3097, allocations: 0.8969 MB / 389.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.3097, allocations: 7.438 kB / 389.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3097, allocations: 3.656 kB / 389.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3097, allocations: 3.938 kB / 389.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.3124, allocations: 1.703 MB / 390.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.3124, allocations: 0 / 390.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.313, allocations: 116.1 kB / 391 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006832/0.3136, allocations: 198.7 kB / 391.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.3137, allocations: 19.94 kB / 391.3 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/0.3166, allocations: 2.702 MB / 394 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3166, allocations: 1.5 kB / 394 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.3189, allocations: 1.256 MB / 395.2 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.319, allocations: 131.5 kB / 395.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.3191, allocations: 14.59 kB / 395.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.3195, allocations: 32.42 kB / 395.4 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3196, allocations: 54.7 kB / 395.4 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.3197, allocations: 23.11 kB / 395.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.3198, allocations: 210.5 kB / 395.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3198, allocations: 0 / 395.7 MB, free: 5.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007479/0.3206, allocations: 230.5 kB / 395.9 MB, free: 5.273 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.0002508/0.3209, allocations: 151.2 kB / 396 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.3227, allocations: 0.8721 MB / 396.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3227, allocations: 0 / 396.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008182/0.3235, allocations: 0.5522 MB / 397.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.324, allocations: 54.56 kB / 397.5 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.3258, allocations: 1.47 MB / 399 MB, free: 3.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.3261, allocations: 0.8887 MB / 399.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003701/0.3265, allocations: 79.61 kB / 400 MB, free: 2.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.3266, allocations: 38.91 kB / 400 MB, free: 2.453 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3266, allocations: 0 / 400 MB, free: 2.453 MB / 302.1 MB Notification: Performance of Templates: time 0.01264/0.3393, allocations: 7.431 MB / 407.4 MB, free: 11.98 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)