Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005955/0.005955, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001266/0.001266, allocations: 188.6 kB / 16.67 MB, free: 5.93 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.671/1.671, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.001318/0.001318, allocations: 55.91 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1398, allocations: 46.62 MB / 373.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.3073/0.4473, allocations: 5.947 MB / 379.1 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.451, allocations: 1.684 MB / 380.8 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000674/0.4517, allocations: 42.81 kB / 380.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.4525, allocations: 321.2 kB / 381.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.4538, allocations: 367.1 kB / 381.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.4546, allocations: 358 kB / 381.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002863/0.4575, allocations: 2.014 MB / 383.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003652/0.4612, allocations: 2.7 MB / 386.6 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.4634, allocations: 1.037 MB / 387.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.4654, allocations: 1.199 MB / 388.8 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004856/0.4659, allocations: 310.4 kB / 389.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.4671, allocations: 483.6 kB / 389.6 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008741/0.468, allocations: 0.7343 MB / 390.3 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.4696, allocations: 1.253 MB / 391.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005468/0.475, allocations: 3.8 MB / 395.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.4751, allocations: 0.75 kB / 395.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4751, allocations: 1.5 kB / 395.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.4752, allocations: 0 / 395.4 MB, free: 3.234 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005503/0.4807, allocations: 2.461 MB / 397.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4808, allocations: 8.906 kB / 397.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006427/0.4814, allocations: 237.5 kB / 398.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.4833, allocations: 1.174 MB / 399.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.4835, allocations: 176 kB / 399.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/0.4838, allocations: 217.1 kB / 399.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0054/0.4892, allocations: 2.544 MB / 402.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.4893, allocations: 0 / 402.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/0.4895, allocations: 90.81 kB / 402.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.47e-05/0.4896, allocations: 60.25 kB / 402.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/0.4939, allocations: 2.137 MB / 404.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.508, allocations: 7.476 MB / 411.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.5094, allocations: 1.248 MB / 413.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.5104, allocations: 0.6335 MB / 413.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.5105, allocations: 12.55 kB / 413.8 MB, free: 6.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.5105, allocations: 39.12 kB / 413.9 MB, free: 6.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 4.338e-06/0.5105, allocations: 0 / 413.9 MB, free: 6.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004583/0.5151, allocations: 2.439 MB / 416.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.5152, allocations: 59.97 kB / 416.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.5163, allocations: 0.7932 MB / 417.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.5163, allocations: 37.7 kB / 417.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005517/0.5169, allocations: 0.9137 MB / 418.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.5171, allocations: 229.4 kB / 418.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.5173, allocations: 150.6 kB / 418.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5175, allocations: 386.8 kB / 418.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.518, allocations: 365.8 kB / 419.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007049/0.5188, allocations: 0.5867 MB / 419.8 MB, free: 156 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.5201, allocations: 0.9894 MB / 420.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5201, allocations: 0 / 420.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001766/0.5219, allocations: 1.155 MB / 421.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5219, allocations: 11.94 kB / 422 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.5219, allocations: 8 kB / 422 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/0.5222, allocations: 108.7 kB / 422.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/0.5229, allocations: 179.7 kB / 422.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.5252, allocations: 2.325 MB / 424.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006047/0.5259, allocations: 39.97 kB / 424.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.5259, allocations: 35.98 kB / 424.7 MB, free: 11.06 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 2 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.5272, allocations: 0.6457 MB / 425.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.5274, allocations: 79 kB / 425.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.5276, allocations: 107.6 kB / 425.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.5276, allocations: 8 kB / 425.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.5276, allocations: 0 / 425.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.5276, allocations: 3.984 kB / 425.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/0.5323, allocations: 2.667 MB / 428.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.5323, allocations: 8 kB / 428.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.5328, allocations: 111.9 kB / 428.3 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.533, allocations: 92.97 kB / 428.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.479e-05/0.5331, allocations: 19.98 kB / 428.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.5353, allocations: 2.276 MB / 430.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5353, allocations: 0 / 430.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.5374, allocations: 1.42 MB / 432.1 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.5379, allocations: 220.1 kB / 432.3 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.5381, allocations: 15.98 kB / 432.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.5385, allocations: 43.97 kB / 432.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.5387, allocations: 48.48 kB / 432.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.5387, allocations: 19.98 kB / 432.4 MB, free: 2.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008145/0.5395, allocations: 0.5653 MB / 433 MB, free: 2.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5396, allocations: 0 / 433 MB, free: 2.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001304/0.5409, allocations: 304 kB / 433.3 MB, free: 2.137 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003077/0.5412, allocations: 131.2 kB / 433.4 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.543, allocations: 1.014 MB / 434.4 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.543, allocations: 7.938 kB / 434.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008576/0.5438, allocations: 0.5577 MB / 435 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.545, allocations: 222.2 kB / 435.2 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/0.5512, allocations: 3.195 MB / 438.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/0.5529, allocations: 1.721 MB / 440.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007936/0.5537, allocations: 199.1 kB / 440.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.554, allocations: 67.42 kB / 440.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.554, allocations: 0 / 440.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of Templates: time 0.02815/0.5821, allocations: 12.46 MB / 452.8 MB, free: 14.44 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)