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.006064/0.006064, allocations: 99.58 kB / 15.73 MB, free: 6.02 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.001322/0.001322, allocations: 192.3 kB / 16.67 MB, free: 5.938 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.351/1.351, allocations: 205.1 MB / 222.6 MB, free: 4.383 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.001173/0.001173, allocations: 45.75 kB / 326.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08264/0.08382, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005137/0.089, allocations: 4.085 MB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.09156, allocations: 1.651 MB / 378.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.0918, allocations: 16 kB / 378.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.0935, allocations: 0.7699 MB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.09462, allocations: 0.5791 MB / 380.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009865/0.09562, allocations: 0.5489 MB / 380.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006187/0.09625, allocations: 0.5913 MB / 381.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007586/0.09702, allocations: 0.4961 MB / 381.9 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.09734, allocations: 262.9 kB / 382.2 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.09771, allocations: 326.7 kB / 382.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.297e-05/0.0978, allocations: 56 kB / 382.5 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.09824, allocations: 243.8 kB / 382.8 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.09837, allocations: 135.5 kB / 382.9 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.09864, allocations: 298.5 kB / 383.2 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009499/0.0996, allocations: 0.8483 MB / 384.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.09961, allocations: 3.938 kB / 384.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09962, allocations: 7.938 kB / 384.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.09964, allocations: 0 / 384.1 MB, free: 6.359 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.002115/0.1018, allocations: 1.018 MB / 385.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1018, allocations: 12.03 kB / 385.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004278/0.1061, allocations: 0.6054 MB / 385.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/0.1067, allocations: 385.3 kB / 386.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.1067, allocations: 54.38 kB / 386.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-05/0.1068, allocations: 64.38 kB / 386.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.1081, allocations: 0.743 MB / 386.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.1081, allocations: 3.953 kB / 386.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.054e-05/0.1082, allocations: 31.94 kB / 387 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.1082, allocations: 16 kB / 387 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.1095, allocations: 0.7144 MB / 387.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/0.1129, allocations: 2.531 MB / 390.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.1148, allocations: 1.951 MB / 392.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.1152, allocations: 214.1 kB / 392.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.908e-05/0.1153, allocations: 97.77 kB / 392.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1153, allocations: 39 kB / 392.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.974e-06/0.1154, allocations: 0 / 392.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.001678/0.117, allocations: 0.7154 MB / 393.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.1171, allocations: 55.84 kB / 393.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.1174, allocations: 312.5 kB / 393.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.1175, allocations: 33.7 kB / 393.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1176, allocations: 296.5 kB / 393.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.1178, allocations: 174.5 kB / 394.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.1179, allocations: 106.3 kB / 394.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1181, allocations: 350.8 kB / 394.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.1185, allocations: 171.3 kB / 394.7 MB, free: 11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.1189, allocations: 353.2 kB / 395 MB, free: 10.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/0.1197, allocations: 0.5416 MB / 395.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1198, allocations: 0 / 395.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001155/0.1209, allocations: 0.6217 MB / 396.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.121, allocations: 12.16 kB / 396.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.121, allocations: 12 kB / 396.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.1212, allocations: 56.83 kB / 396.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.1217, allocations: 131.8 kB / 396.4 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.1232, allocations: 1.768 MB / 398.2 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.1237, allocations: 75.58 kB / 398.3 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.1237, allocations: 27.98 kB / 398.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005122/0.1242, allocations: 297.3 kB / 398.6 MB, free: 6.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004472/0.1247, allocations: 341.2 kB / 398.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000795/0.1255, allocations: 0.5339 MB / 399.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.926e-06/0.1255, allocations: 0 / 399.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001127/0.1267, allocations: 0.6174 MB / 400.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1267, allocations: 8 kB / 400.1 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1267, allocations: 4 kB / 400.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.1269, allocations: 61.36 kB / 400.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.1274, allocations: 127.9 kB / 400.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.1288, allocations: 1.783 MB / 402 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.1292, allocations: 55.59 kB / 402.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.1292, allocations: 24 kB / 402.1 MB, free: 2.957 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.000206/0.1294, allocations: 224.2 kB / 402.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.1295, allocations: 39.72 kB / 402.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1307, allocations: 0.5243 MB / 402.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1307, allocations: 4 kB / 402.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1307, allocations: 4 kB / 402.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.1307, allocations: 0 / 402.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.1325, allocations: 1.154 MB / 404.1 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1325, allocations: 3.938 kB / 404.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.1329, allocations: 91.81 kB / 404.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001707/0.133, allocations: 48.83 kB / 404.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.1331, allocations: 16.12 kB / 404.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.1345, allocations: 1.76 MB / 406 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1345, allocations: 0 / 406 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.1359, allocations: 0.7776 MB / 406.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.1361, allocations: 152.7 kB / 406.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.1361, allocations: 15.94 kB / 406.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.1364, allocations: 19.98 kB / 406.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.1365, allocations: 32.39 kB / 407 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.1365, allocations: 12 kB / 407 MB, free: 13.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002148/0.1367, allocations: 215.1 kB / 407.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1368, allocations: 0 / 407.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009632/0.1377, allocations: 271.4 kB / 407.5 MB, free: 13.35 MB / 350.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.0002192/0.1379, allocations: 139 kB / 407.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.1397, allocations: 0.9863 MB / 408.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1397, allocations: 1.375 kB / 408.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.1402, allocations: 357 kB / 408.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1406, allocations: 40.78 kB / 409 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.1422, allocations: 0.9812 MB / 410 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.1426, allocations: 0.8446 MB / 410.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003319/0.143, allocations: 96.09 kB / 410.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1431, allocations: 35.44 kB / 410.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1431, allocations: 0 / 410.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of Templates: time 0.009625/0.1527, allocations: 5.188 MB / 416.1 MB, free: 4.586 MB / 350.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)