Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001009/0.001009, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.288/1.288, allocations: 194.3 MB / 203.1 MB, free: 9.258 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 120 kB / 248.1 MB, free: 6.355 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.55e-05/1.552e-05, allocations: 4 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08191, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2909/0.3728, allocations: 77.21 MB / 419.8 MB, free: 18.62 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.3731, allocations: 79.45 kB / 419.9 MB, free: 18.58 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04522/0.4183, allocations: 20.98 MB / 440.8 MB, free: 1.359 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4184, allocations: 3.938 kB / 440.8 MB, free: 1.355 MB / 315.1 MB Notification: Performance of Transformations before backend: time 9.882e-05/0.4185, allocations: 39.94 kB / 440.9 MB, free: 1.316 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.00304/0.4215, allocations: 1.417 MB / 442.3 MB, free: 15.94 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4216, allocations: 12.03 kB / 442.3 MB, free: 15.93 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007306/0.4223, allocations: 174.1 kB / 442.5 MB, free: 15.75 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.4241, allocations: 0.9276 MB / 443.4 MB, free: 15 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/0.4241, allocations: 48 kB / 443.4 MB, free: 14.95 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.4243, allocations: 80 kB / 443.5 MB, free: 14.87 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001938/0.4263, allocations: 1.244 MB / 444.8 MB, free: 14.13 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.4287, allocations: 1.586 MB / 446.4 MB, free: 12.96 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.4287, allocations: 3.938 kB / 446.4 MB, free: 12.96 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.4288, allocations: 0 / 446.4 MB, free: 12.96 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.4289, allocations: 32 kB / 446.4 MB, free: 12.93 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006885/0.4358, allocations: 4.725 MB / 451.1 MB, free: 9.254 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007906/0.4366, allocations: 0.939 MB / 452.1 MB, free: 8.375 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006778/0.4373, allocations: 449.5 kB / 452.5 MB, free: 8.055 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.4373, allocations: 7.781 kB / 452.5 MB, free: 8.047 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4374, allocations: 37.75 kB / 452.5 MB, free: 8.004 MB / 331.1 MB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.4374, allocations: 0 / 452.5 MB, free: 8.004 MB / 331.1 MB Notification: Performance of matching and sorting (n=44): time 0.002225/0.4396, allocations: 1.483 MB / 454 MB, free: 6.754 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.4397, allocations: 55.41 kB / 454.1 MB, free: 6.688 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.4403, allocations: 0.5579 MB / 454.6 MB, free: 6.254 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.4403, allocations: 25.7 kB / 454.7 MB, free: 6.223 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.4406, allocations: 0.6174 MB / 455.3 MB, free: 5.723 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.4407, allocations: 151.2 kB / 455.4 MB, free: 5.59 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.4408, allocations: 0 / 455.4 MB, free: 5.59 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4409, allocations: 374.5 kB / 455.8 MB, free: 5.238 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.4412, allocations: 245.2 kB / 456 MB, free: 5.086 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.4416, allocations: 380.1 kB / 456.4 MB, free: 4.758 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.4419, allocations: 320.7 kB / 456.7 MB, free: 4.547 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4419, allocations: 0 / 456.7 MB, free: 4.547 MB / 331.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001047/0.443, allocations: 0.7801 MB / 457.5 MB, free: 3.949 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.443, allocations: 4 kB / 457.5 MB, free: 3.945 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.443, allocations: 4 kB / 457.5 MB, free: 3.941 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/0.4433, allocations: 101.3 kB / 457.6 MB, free: 3.859 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.4438, allocations: 119.4 kB / 457.7 MB, free: 3.746 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.4457, allocations: 2.049 MB / 459.8 MB, free: 1.625 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.4461, allocations: 23.97 kB / 459.8 MB, free: 1.602 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.4462, allocations: 20 kB / 459.8 MB, free: 1.582 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.4463, allocations: 121 kB / 459.9 MB, free: 1.457 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.4464, allocations: 59.25 kB / 460 MB, free: 1.398 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.4466, allocations: 69.86 kB / 460.1 MB, free: 1.324 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4466, allocations: 11.95 kB / 460.1 MB, free: 1.312 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.4466, allocations: 3.984 kB / 460.1 MB, free: 1.309 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4466, allocations: 3.984 kB / 460.1 MB, free: 1.305 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/0.4494, allocations: 1.742 MB / 461.8 MB, free: 15.5 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4494, allocations: 0 / 461.8 MB, free: 15.5 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.4497, allocations: 76.05 kB / 461.9 MB, free: 15.43 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002153/0.4499, allocations: 96.73 kB / 462 MB, free: 15.33 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.45, allocations: 7.984 kB / 462 MB, free: 15.32 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.4519, allocations: 2.009 MB / 464 MB, free: 13.2 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4519, allocations: 8.016 kB / 464 MB, free: 13.19 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.4533, allocations: 1.078 MB / 465.1 MB, free: 12.05 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.4536, allocations: 192.4 kB / 465.3 MB, free: 11.84 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.4537, allocations: 4 kB / 465.3 MB, free: 11.84 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.454, allocations: 32.03 kB / 465.3 MB, free: 11.8 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.4541, allocations: 35.94 kB / 465.3 MB, free: 11.77 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.4542, allocations: 23.89 kB / 465.4 MB, free: 11.75 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0005595/0.4547, allocations: 434.8 kB / 465.8 MB, free: 11.32 MB / 347.1 MB Notification: Performance of sort global known variables: time 2.264e-06/0.4547, allocations: 0 / 465.8 MB, free: 11.32 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0008272/0.4556, allocations: 191.9 kB / 466 MB, free: 11.14 MB / 347.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.4558, allocations: 104.5 kB / 466.1 MB, free: 11.02 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.4568, allocations: 0.6969 MB / 466.8 MB, free: 10.32 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4568, allocations: 4 kB / 466.8 MB, free: 10.32 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.4575, allocations: 433.5 kB / 467.2 MB, free: 9.883 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.4582, allocations: 146.2 kB / 467.3 MB, free: 9.746 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.4613, allocations: 1.789 MB / 469.1 MB, free: 7.906 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.4624, allocations: 1.444 MB / 470.6 MB, free: 6.434 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0005055/0.4629, allocations: 161.1 kB / 470.7 MB, free: 6.277 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.463, allocations: 43.44 kB / 470.8 MB, free: 6.234 MB / 347.1 MB Notification: Performance of SimCode: time 7.11e-07/0.463, allocations: 0 / 470.8 MB, free: 6.234 MB / 347.1 MB Notification: Performance of Templates: time 0.01416/0.4772, allocations: 7.612 MB / 478.4 MB, free: 14.66 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)