Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.001301, allocations: 93.31 kB / 16.98 MB, free: 5.941 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.001261/0.001262, allocations: 181.3 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003251, allocations: 10.19 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008939/0.1513, allocations: 6.189 MB / 477.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005938/0.1572, allocations: 2.223 MB / 479.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.1586, allocations: 31.94 kB / 479.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.16, allocations: 266.4 kB / 480.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.1631, allocations: 0.8058 MB / 481 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.1653, allocations: 0.7353 MB / 481.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.1675, allocations: 0.9483 MB / 482.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.1708, allocations: 1.49 MB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009784/0.1718, allocations: 498.2 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.1729, allocations: 0.5992 MB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003333/0.1732, allocations: 56 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.1744, allocations: 247.7 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.1747, allocations: 219.1 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.1752, allocations: 245.1 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.177, allocations: 1.29 MB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.177, allocations: 0 / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.177, allocations: 3.938 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.343e-05/0.1771, allocations: 0 / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.00731/0.1844, allocations: 2.154 MB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1845, allocations: 8.562 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.1952, allocations: 1.399 MB / 490.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.1965, allocations: 0.5846 MB / 491.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-05/0.1966, allocations: 94.64 kB / 491.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.1969, allocations: 135.9 kB / 491.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.1994, allocations: 1.471 MB / 493.1 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.1994, allocations: 7.938 kB / 493.1 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.1996, allocations: 60 kB / 493.2 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.1996, allocations: 32 kB / 493.2 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.2021, allocations: 1.513 MB / 494.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007868/0.2099, allocations: 5.385 MB / 0.4884 GB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.2125, allocations: 2.175 MB / 0.4905 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.2127, allocations: 110 kB / 0.4906 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.2127, allocations: 43.56 kB / 0.4907 GB, free: 14.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 4.579e-06/0.2127, allocations: 0 / 0.4907 GB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.008588/0.2213, allocations: 3.079 MB / 0.4937 GB, free: 10.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.2214, allocations: 94.05 kB / 0.4937 GB, free: 10.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.222, allocations: 461.8 kB / 0.4942 GB, free: 10.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-05/0.2221, allocations: 45.7 kB / 0.4942 GB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.2224, allocations: 467.4 kB / 0.4947 GB, free: 9.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003256/0.2227, allocations: 421.8 kB / 0.4951 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.2228, allocations: 28 kB / 0.4951 GB, free: 9.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2229, allocations: 386.7 kB / 0.4955 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/0.2237, allocations: 458.4 kB / 0.4959 GB, free: 8.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.225, allocations: 0.7036 MB / 0.4966 GB, free: 7.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.2261, allocations: 0.5176 MB / 0.4971 GB, free: 7.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.2261, allocations: 4 kB / 0.4971 GB, free: 7.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002888/0.229, allocations: 1.574 MB / 0.4986 GB, free: 5.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.229, allocations: 12.06 kB / 0.4987 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.2291, allocations: 8 kB / 0.4987 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.2306, allocations: 0.5279 MB / 0.4992 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.2314, allocations: 199.7 kB / 0.4994 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.327/0.5584, allocations: 5.017 MB / 0.5043 GB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.5597, allocations: 124.3 kB / 0.5044 GB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.5599, allocations: 49.19 kB / 0.5044 GB, free: 45.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005945/0.5605, allocations: 276 kB / 0.5047 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.5607, allocations: 81.05 kB / 0.5048 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003444/0.5641, allocations: 1.582 MB / 0.5063 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/0.5642, allocations: 15.88 kB / 0.5063 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5642, allocations: 3.969 kB / 0.5063 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.5642, allocations: 7.844 kB / 0.5063 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/0.57, allocations: 2.865 MB / 0.5091 GB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.57, allocations: 0.7969 kB / 0.5091 GB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/0.5707, allocations: 146.9 kB / 0.5093 GB, free: 44.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/0.5723, allocations: 0.5151 MB / 0.5098 GB, free: 44.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/0.5723, allocations: 33.58 kB / 0.5098 GB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007823/0.5802, allocations: 4.996 MB / 0.5147 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5802, allocations: 1.031 kB / 0.5147 GB, free: 41.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.5851, allocations: 2.37 MB / 0.517 GB, free: 40 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006721/0.5858, allocations: 278.8 kB / 0.5173 GB, free: 39.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.5859, allocations: 21.89 kB / 0.5173 GB, free: 39.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007448/0.5867, allocations: 53.31 kB / 0.5174 GB, free: 39.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004385/0.5871, allocations: 104.5 kB / 0.5175 GB, free: 39.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.422e-05/0.5873, allocations: 34.14 kB / 0.5175 GB, free: 39.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005203/0.5878, allocations: 305.4 kB / 0.5178 GB, free: 39.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5878, allocations: 0 / 0.5178 GB, free: 39.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00199/0.5898, allocations: 413.8 kB / 0.5182 GB, free: 39.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003676/0.5902, allocations: 171.9 kB / 0.5183 GB, free: 39.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004251/0.5944, allocations: 1.842 MB / 0.5201 GB, free: 38.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.5945, allocations: 1.125 kB / 0.5201 GB, free: 38.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00256/0.597, allocations: 1.243 MB / 0.5213 GB, free: 37.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.5977, allocations: 85.7 kB / 0.5214 GB, free: 37.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.6021, allocations: 2.525 MB / 0.5239 GB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008491/0.603, allocations: 1.096 MB / 0.525 GB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005961/0.6036, allocations: 114.7 kB / 0.5251 GB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.6038, allocations: 57.73 kB / 0.5251 GB, free: 35.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.383e-06/0.6038, allocations: 0 / 0.5251 GB, free: 35.55 MB / 382.1 MB Notification: Performance of Templates: time 0.02548/0.6292, allocations: 16.25 MB / 0.541 GB, free: 24.18 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)