Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.006609/0.006609, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001489/0.001489, allocations: 198.5 kB / 16.68 MB, free: 5.875 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.359/1.359, allocations: 205.1 MB / 222.6 MB, free: 4.43 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.001188/0.001188, allocations: 53.69 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08109/0.08229, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode): time 0.005141/0.08747, allocations: 4.085 MB / 377.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.09006, allocations: 1.651 MB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.09033, allocations: 12 kB / 378.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.09212, allocations: 0.7816 MB / 379.7 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.09333, allocations: 0.5869 MB / 380.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009902/0.09433, allocations: 0.5334 MB / 380.8 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.09496, allocations: 0.5952 MB / 381.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007508/0.09572, allocations: 0.4922 MB / 381.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.0961, allocations: 270.9 kB / 382.2 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.09658, allocations: 326.7 kB / 382.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.655e-05/0.09668, allocations: 56 kB / 382.5 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.09714, allocations: 243.8 kB / 382.8 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.09726, allocations: 135.5 kB / 382.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.0975, allocations: 302.5 kB / 383.2 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008561/0.09836, allocations: 0.8411 MB / 384 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.09838, allocations: 3.938 kB / 384.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09839, allocations: 0 / 384.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.0984, allocations: 0 / 384.1 MB, free: 6.375 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.002108/0.1005, allocations: 1.007 MB / 385.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1006, allocations: 8.031 kB / 385.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00426/0.1048, allocations: 0.6089 MB / 385.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.1054, allocations: 385.2 kB / 386.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.1055, allocations: 54.38 kB / 386.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.1056, allocations: 72.31 kB / 386.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.1068, allocations: 0.7313 MB / 386.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.1068, allocations: 0 / 386.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.1069, allocations: 28 kB / 386.9 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.1069, allocations: 16 kB / 387 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.1083, allocations: 0.7184 MB / 387.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.1116, allocations: 2.522 MB / 390.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.1135, allocations: 1.959 MB / 392.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.1139, allocations: 218.1 kB / 392.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.601e-05/0.114, allocations: 89.53 kB / 392.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1141, allocations: 35 kB / 392.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.124e-06/0.1141, allocations: 4 kB / 392.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.001707/0.1158, allocations: 0.7075 MB / 393.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1159, allocations: 63.78 kB / 393.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.1162, allocations: 304.5 kB / 393.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.1163, allocations: 29.7 kB / 393.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1165, allocations: 299.9 kB / 393.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1166, allocations: 173.5 kB / 394 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.1168, allocations: 106.2 kB / 394.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1169, allocations: 346.8 kB / 394.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.1173, allocations: 175.3 kB / 394.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.1177, allocations: 349.2 kB / 395 MB, free: 10.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/0.1186, allocations: 0.5377 MB / 395.5 MB, free: 10 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.1186, allocations: 4 kB / 395.5 MB, free: 10 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001223/0.1199, allocations: 0.6254 MB / 396.2 MB, free: 9.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1199, allocations: 9.094 kB / 396.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.1199, allocations: 4 kB / 396.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002466/0.1202, allocations: 56.83 kB / 396.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.1207, allocations: 131.7 kB / 396.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.1223, allocations: 1.775 MB / 398.1 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.1226, allocations: 71.39 kB / 398.2 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.1227, allocations: 35.97 kB / 398.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004494/0.1231, allocations: 297.2 kB / 398.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000423/0.1236, allocations: 337.3 kB / 398.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007804/0.1244, allocations: 0.5377 MB / 399.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.1244, allocations: 4 kB / 399.4 MB, free: 5.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001074/0.1255, allocations: 0.6099 MB / 400 MB, free: 5.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1255, allocations: 8 kB / 400 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1255, allocations: 12.03 kB / 400 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000166/0.1257, allocations: 56.83 kB / 400.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.1261, allocations: 131.8 kB / 400.2 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.1275, allocations: 1.756 MB / 402 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.1279, allocations: 59.52 kB / 402 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.1279, allocations: 28 kB / 402.1 MB, free: 3.02 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.0001528/0.1281, allocations: 224 kB / 402.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.1282, allocations: 39.53 kB / 402.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.1293, allocations: 0.5205 MB / 402.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1293, allocations: 8 kB / 402.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1293, allocations: 3.938 kB / 402.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1293, allocations: 0 / 402.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.1312, allocations: 1.158 MB / 404 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1312, allocations: 0 / 404 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.1316, allocations: 91.81 kB / 404.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/0.1318, allocations: 48.83 kB / 404.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.1318, allocations: 16 kB / 404.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.1332, allocations: 1.748 MB / 405.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1332, allocations: 0 / 405.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.1346, allocations: 0.7852 MB / 406.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.1348, allocations: 152.5 kB / 406.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.1349, allocations: 11.92 kB / 406.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.1351, allocations: 28.09 kB / 406.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.1353, allocations: 28.39 kB / 406.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.1353, allocations: 20 kB / 406.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.1356, allocations: 219.1 kB / 407.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1356, allocations: 0 / 407.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001094/0.1367, allocations: 263.1 kB / 407.4 MB, free: 13.42 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.0002665/0.1369, allocations: 135.1 kB / 407.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.1388, allocations: 0.9832 MB / 408.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1389, allocations: 0.5625 kB / 408.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005385/0.1394, allocations: 361 kB / 408.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.1398, allocations: 40.66 kB / 408.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.1416, allocations: 0.9629 MB / 409.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.142, allocations: 0.8446 MB / 410.7 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.1424, allocations: 88.12 kB / 410.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1425, allocations: 39.44 kB / 410.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1425, allocations: 4 kB / 410.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Templates: time 0.009841/0.1523, allocations: 5.184 MB / 416 MB, free: 4.676 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.pipe 2>&1)