Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="empty",numberOfIntervals=9332,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="empty",numberOfIntervals=9332,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008171/0.008171, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001896/0.001896, allocations: 192.4 kB / 16.67 MB, free: 6.379 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.596/1.596, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.4107/0.4107, allocations: 39.95 MB / 309.8 MB, free: 9.387 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.001889/0.001889, allocations: 63.91 kB / 435.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4769, allocations: 56.88 MB / 492.6 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005985/0.483, allocations: 3.425 MB / 496.1 MB, free: 17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.4855, allocations: 0.8332 MB / 496.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.4858, allocations: 8.844 kB / 496.9 MB, free: 16.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.4861, allocations: 75.27 kB / 497 MB, free: 16.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.4864, allocations: 130.9 kB / 497.1 MB, free: 16.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.487, allocations: 127.3 kB / 497.2 MB, free: 16.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007607/0.4877, allocations: 0.52 MB / 497.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.4882, allocations: 253.5 kB / 498 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.4886, allocations: 208.7 kB / 498.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.489, allocations: 239.5 kB / 498.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.4891, allocations: 48.41 kB / 498.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.4893, allocations: 48.97 kB / 498.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.4894, allocations: 108.3 kB / 498.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.4898, allocations: 244.7 kB / 498.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.491, allocations: 0.5543 MB / 499.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.491, allocations: 4.562 kB / 499.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.491, allocations: 0 / 499.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.4911, allocations: 1.594 kB / 499.4 MB, free: 15.11 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00185/0.4929, allocations: 0.7599 MB / 0.4885 GB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.493, allocations: 13.05 kB / 0.4885 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.4931, allocations: 49.25 kB / 0.4885 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.4937, allocations: 326.5 kB / 0.4888 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.4938, allocations: 31.84 kB / 0.4889 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.4939, allocations: 47.5 kB / 0.4889 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.495, allocations: 472.9 kB / 0.4894 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.495, allocations: 1.125 kB / 0.4894 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/0.4951, allocations: 16.44 kB / 0.4894 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.4951, allocations: 11.44 kB / 0.4894 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.4962, allocations: 329.6 kB / 0.4897 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002683/0.4989, allocations: 1.668 MB / 0.4913 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.4996, allocations: 240.5 kB / 0.4916 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.5, allocations: 137.4 kB / 0.4917 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.5001, allocations: 2.969 kB / 0.4917 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5001, allocations: 48.33 kB / 0.4918 GB, free: 12.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.5001, allocations: 0 / 0.4918 GB, free: 12.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.003373/0.5035, allocations: 1.342 MB / 0.4931 GB, free: 11.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.5036, allocations: 85.84 kB / 0.4931 GB, free: 11.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.5039, allocations: 260.4 kB / 0.4934 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.504, allocations: 32.45 kB / 0.4934 GB, free: 11.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.5042, allocations: 266.7 kB / 0.4937 GB, free: 11.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.5043, allocations: 112.3 kB / 0.4938 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.5044, allocations: 76.06 kB / 0.4939 GB, free: 10.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5045, allocations: 339.5 kB / 0.4942 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.5048, allocations: 112.3 kB / 0.4943 GB, free: 10.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.5052, allocations: 213.9 kB / 0.4945 GB, free: 10.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.5059, allocations: 336.4 kB / 0.4948 GB, free: 10.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5059, allocations: 0.6875 kB / 0.4948 GB, free: 10.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009398/0.5069, allocations: 419 kB / 0.4952 GB, free: 9.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.5069, allocations: 6.859 kB / 0.4952 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.5069, allocations: 3.156 kB / 0.4952 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001922/0.5071, allocations: 42.05 kB / 0.4953 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.5077, allocations: 122 kB / 0.4954 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.5088, allocations: 1.433 MB / 0.4968 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.509, allocations: 18.66 kB / 0.4968 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.5091, allocations: 18.44 kB / 0.4968 GB, free: 8.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.5093, allocations: 170.4 kB / 0.497 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.5094, allocations: 35.61 kB / 0.497 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.5094, allocations: 39.39 kB / 0.497 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.5095, allocations: 4.312 kB / 0.4971 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5095, allocations: 0 / 0.4971 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.5095, allocations: 3.156 kB / 0.4971 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.5107, allocations: 0.7144 MB / 0.4978 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5107, allocations: 0 / 0.4978 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.5111, allocations: 91.28 kB / 0.4978 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.456e-05/0.5112, allocations: 28.38 kB / 0.4979 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.5113, allocations: 14.92 kB / 0.4979 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007919/0.5121, allocations: 1.431 MB / 0.4993 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5121, allocations: 1.688 kB / 0.4993 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009999/0.5131, allocations: 0.6051 MB / 0.4999 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5132, allocations: 132.5 kB / 0.5 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.5133, allocations: 6.344 kB / 0.5 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.5135, allocations: 21.77 kB / 0.5 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.5136, allocations: 27.66 kB / 0.5 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.5136, allocations: 7.188 kB / 0.5001 GB, free: 5.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.5138, allocations: 188.1 kB / 0.5002 GB, free: 5.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5138, allocations: 0 / 0.5002 GB, free: 5.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005065/0.5144, allocations: 96.44 kB / 0.5003 GB, free: 5.469 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001658/0.5145, allocations: 108.6 kB / 0.5004 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009776/0.5155, allocations: 405.9 kB / 0.5008 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5155, allocations: 1.312 kB / 0.5008 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.5159, allocations: 259.9 kB / 0.5011 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.5164, allocations: 43.48 kB / 0.5011 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.5183, allocations: 0.892 MB / 0.502 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.5186, allocations: 0.8098 MB / 0.5028 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.5188, allocations: 35.78 kB / 0.5028 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.983e-05/0.5189, allocations: 25.56 kB / 0.5028 GB, free: 3.523 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5189, allocations: 0 / 0.5028 GB, free: 3.523 MB / 382.1 MB Notification: Performance of Templates: time 0.008471/0.5273, allocations: 3.171 MB / 0.5059 GB, free: 1.934 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)