Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.008753/0.008753, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001842/0.001843, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.72/1.72, allocations: 205.1 MB / 222.5 MB, free: 4.359 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3989/0.3989, allocations: 39.95 MB / 309.9 MB, free: 9.645 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.91 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3577, allocations: 56.87 MB / 492.6 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009078/0.3668, allocations: 7.724 MB / 0.4886 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006138/0.373, allocations: 2.364 MB / 0.491 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.3745, allocations: 29.75 kB / 0.491 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004209/0.3787, allocations: 1.814 MB / 0.4928 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.3817, allocations: 0.8972 MB / 0.4936 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.384, allocations: 0.8818 MB / 0.4945 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002675/0.3867, allocations: 1.444 MB / 0.4959 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.3884, allocations: 1.006 MB / 0.4969 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.3895, allocations: 0.6129 MB / 0.4975 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000991/0.3905, allocations: 0.747 MB / 0.4982 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002342/0.3908, allocations: 113.6 kB / 0.4983 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000996/0.3918, allocations: 331.9 kB / 0.4986 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.392, allocations: 306.6 kB / 0.4989 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007363/0.3927, allocations: 0.6746 MB / 0.4996 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.3952, allocations: 1.766 MB / 0.5013 GB, free: 5.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3953, allocations: 1.062 kB / 0.5013 GB, free: 5.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3953, allocations: 0 / 0.5013 GB, free: 5.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.175e-05/0.3953, allocations: 0 / 0.5013 GB, free: 5.781 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007345/0.4027, allocations: 2.404 MB / 0.5037 GB, free: 4.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4027, allocations: 13.73 kB / 0.5037 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.413, allocations: 1.497 MB / 0.5051 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.4148, allocations: 0.6257 MB / 0.5057 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.4149, allocations: 103.2 kB / 0.5058 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/0.4152, allocations: 139.6 kB / 0.506 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.4179, allocations: 1.535 MB / 0.5075 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.259e-05/0.4179, allocations: 4.938 kB / 0.5075 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.418, allocations: 52.16 kB / 0.5075 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.687e-05/0.4181, allocations: 37.28 kB / 0.5076 GB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.4206, allocations: 1.579 MB / 0.5091 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008211/0.4288, allocations: 5.508 MB / 0.5145 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002655/0.4315, allocations: 2.359 MB / 0.5168 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.4326, allocations: 0.6598 MB / 0.5174 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.4328, allocations: 104.6 kB / 0.5175 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.4328, allocations: 53.36 kB / 0.5176 GB, free: 10.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 3.376e-06/0.4328, allocations: 0 / 0.5176 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.009144/0.442, allocations: 3.165 MB / 0.5207 GB, free: 7.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.4421, allocations: 90.11 kB / 0.5208 GB, free: 6.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.4427, allocations: 477.9 kB / 0.5212 GB, free: 6.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.048e-05/0.4428, allocations: 45.7 kB / 0.5213 GB, free: 6.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.4432, allocations: 491.2 kB / 0.5217 GB, free: 5.883 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.4436, allocations: 425.7 kB / 0.5221 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/0.444, allocations: 234.7 kB / 0.5224 GB, free: 5.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4442, allocations: 390.7 kB / 0.5227 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000812/0.445, allocations: 463.1 kB / 0.5232 GB, free: 4.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.4461, allocations: 0.7442 MB / 0.5239 GB, free: 3.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.448, allocations: 1.259 MB / 0.5251 GB, free: 2.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.448, allocations: 0 / 0.5251 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00302/0.451, allocations: 1.665 MB / 0.5268 GB, free: 492 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.4511, allocations: 13.56 kB / 0.5268 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.836e-05/0.4511, allocations: 15.94 kB / 0.5268 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.4527, allocations: 0.524 MB / 0.5273 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.4535, allocations: 223.6 kB / 0.5275 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002012/0.4537, allocations: 61.09 kB / 0.5276 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007705/0.4545, allocations: 130.7 kB / 0.5277 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.851e-05/0.4546, allocations: 48 kB / 0.5277 GB, free: 15.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004927/0.4551, allocations: 277.5 kB / 0.528 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.4552, allocations: 82.97 kB / 0.5281 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.458, allocations: 1.583 MB / 0.5296 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.4581, allocations: 12 kB / 0.5296 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4581, allocations: 0 / 0.5296 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.4581, allocations: 11.97 kB / 0.5297 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.4628, allocations: 2.89 MB / 0.5325 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4628, allocations: 0 / 0.5325 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.4634, allocations: 155.8 kB / 0.5326 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001354/0.4648, allocations: 0.5183 MB / 0.5331 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.872e-05/0.4649, allocations: 32 kB / 0.5332 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.051e-05/0.465, allocations: 24.84 kB / 0.5332 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.465, allocations: 0 / 0.5332 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.4687, allocations: 2.298 MB / 0.5354 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/0.4692, allocations: 283.7 kB / 0.5357 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.4693, allocations: 20 kB / 0.5357 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/0.4699, allocations: 52.05 kB / 0.5358 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.4701, allocations: 77.2 kB / 0.5358 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.4702, allocations: 39.92 kB / 0.5359 GB, free: 6.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000445/0.4707, allocations: 318.9 kB / 0.5362 GB, free: 6.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4707, allocations: 0 / 0.5362 GB, free: 6.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001315/0.472, allocations: 339.1 kB / 0.5365 GB, free: 6.348 MB / 414.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 (86): * Single equations (assignments): 85 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000352/0.4724, allocations: 163 kB / 0.5367 GB, free: 6.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002981/0.4753, allocations: 1.4 MB / 0.538 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4754, allocations: 0 / 0.538 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.4771, allocations: 0.7706 MB / 0.5388 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.4779, allocations: 105.4 kB / 0.5389 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/0.4815, allocations: 2.099 MB / 0.5409 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.4822, allocations: 1.048 MB / 0.542 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004729/0.4827, allocations: 111 kB / 0.5421 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.4829, allocations: 67.42 kB / 0.5421 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4829, allocations: 0 / 0.5421 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of Templates: time 0.0234/0.5063, allocations: 14.69 MB / 0.5565 GB, free: 1.824 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)