Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005798/0.005798, allocations: 102.3 kB / 15.73 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001208, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.344/1.344, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.001278/0.001278, allocations: 51.92 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08067/0.08196, allocations: 46.62 MB / 373.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005266/0.08726, allocations: 4.092 MB / 377.3 MB, free: 476 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1654/0.2527, allocations: 1.631 MB / 378.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.253, allocations: 17.19 kB / 378.9 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.2547, allocations: 0.771 MB / 379.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.2558, allocations: 0.5829 MB / 380.3 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009554/0.2568, allocations: 0.5513 MB / 380.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006708/0.2574, allocations: 0.5986 MB / 381.4 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006691/0.2581, allocations: 0.4995 MB / 381.9 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.2584, allocations: 262 kB / 382.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.2587, allocations: 326.3 kB / 382.5 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.102e-05/0.2588, allocations: 56.56 kB / 382.5 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.2593, allocations: 250 kB / 382.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.2594, allocations: 131.8 kB / 382.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.2596, allocations: 305.6 kB / 383.2 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.2605, allocations: 0.8418 MB / 384 MB, free: 8.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2605, allocations: 1.156 kB / 384 MB, free: 8.309 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2605, allocations: 0 / 384 MB, free: 8.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2605, allocations: 0 / 384 MB, free: 8.309 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002089/0.2626, allocations: 1.009 MB / 385.1 MB, free: 7.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2626, allocations: 9.312 kB / 385.1 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004342/0.267, allocations: 0.6031 MB / 385.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006998/0.2677, allocations: 391.7 kB / 386.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.2677, allocations: 54.16 kB / 386.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2679, allocations: 68.42 kB / 386.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.2692, allocations: 0.7304 MB / 386.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.2692, allocations: 2.234 kB / 386.9 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.2693, allocations: 28.88 kB / 386.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.2693, allocations: 16.62 kB / 386.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2706, allocations: 0.7207 MB / 387.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.2739, allocations: 2.514 MB / 390.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.2755, allocations: 1.954 MB / 392.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.2759, allocations: 217.3 kB / 392.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.447e-05/0.2759, allocations: 95.09 kB / 392.4 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.276, allocations: 38.48 kB / 392.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.104e-06/0.276, allocations: 3.938 kB / 392.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.001608/0.2776, allocations: 0.7093 MB / 393.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.2776, allocations: 65.89 kB / 393.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.2779, allocations: 307.7 kB / 393.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.278, allocations: 36.11 kB / 393.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2781, allocations: 288.2 kB / 393.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.2782, allocations: 171 kB / 394 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.2784, allocations: 108.6 kB / 394.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.2784, allocations: 347.4 kB / 394.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/0.2788, allocations: 170.3 kB / 394.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.2793, allocations: 349.3 kB / 395 MB, free: 1.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008156/0.2801, allocations: 0.539 MB / 395.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.2801, allocations: 1.062 kB / 395.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001215/0.2813, allocations: 0.6237 MB / 396.2 MB, free: 376 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2814, allocations: 7.875 kB / 396.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.2814, allocations: 9.688 kB / 396.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/0.2816, allocations: 58.61 kB / 396.2 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005249/0.2822, allocations: 127.2 kB / 396.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.2838, allocations: 1.782 MB / 398.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.2842, allocations: 72.86 kB / 398.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.2843, allocations: 27.11 kB / 398.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005029/0.2848, allocations: 296.9 kB / 398.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004725/0.2853, allocations: 337 kB / 398.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008707/0.2861, allocations: 0.5339 MB / 399.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.813e-06/0.2862, allocations: 2.75 kB / 399.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001216/0.2874, allocations: 0.6092 MB / 400 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2874, allocations: 7.812 kB / 400 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2874, allocations: 9.562 kB / 400 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.2877, allocations: 65.12 kB / 400.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.2882, allocations: 126.7 kB / 400.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.2898, allocations: 1.769 MB / 402 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.2902, allocations: 49.06 kB / 402 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.2903, allocations: 34.31 kB / 402.1 MB, free: 11.74 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (69): * Single equations (assignments): 68 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.2905, allocations: 217.4 kB / 402.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.2906, allocations: 37.64 kB / 402.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.2919, allocations: 0.528 MB / 402.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.2919, allocations: 12.75 kB / 402.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2919, allocations: 2.344 kB / 402.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.2919, allocations: 2.578 kB / 402.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.2938, allocations: 1.15 MB / 404 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2939, allocations: 5.125 kB / 404 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.2943, allocations: 85.62 kB / 404.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.2944, allocations: 46.3 kB / 404.1 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.2945, allocations: 17.48 kB / 404.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.296, allocations: 1.758 MB / 405.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.296, allocations: 0 / 405.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.2974, allocations: 0.7824 MB / 406.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.2976, allocations: 150.7 kB / 406.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.2977, allocations: 10.47 kB / 406.8 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.298, allocations: 23.98 kB / 406.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.2981, allocations: 31.14 kB / 406.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.2981, allocations: 17.42 kB / 406.9 MB, free: 8.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000226/0.2983, allocations: 215 kB / 407.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2983, allocations: 0 / 407.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001075/0.2994, allocations: 268.2 kB / 407.4 MB, free: 8.113 MB / 334.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 (46): * Single equations (assignments): 45 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002406/0.2997, allocations: 136.5 kB / 407.5 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.3016, allocations: 0.988 MB / 408.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3016, allocations: 1.812 kB / 408.5 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000569/0.3022, allocations: 356.5 kB / 408.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.3026, allocations: 49.08 kB / 408.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.3044, allocations: 0.9585 MB / 409.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3049, allocations: 0.8464 MB / 410.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003514/0.3052, allocations: 83.2 kB / 410.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3054, allocations: 48.17 kB / 410.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3054, allocations: 0 / 410.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of Templates: time 0.01097/0.3163, allocations: 5.194 MB / 416 MB, free: 2.836 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)