Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001158/0.001158, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001033/0.001033, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.786/1.786, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.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.0006867/0.0006868, allocations: 14.66 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3889, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006971/0.3959, allocations: 5.462 MB / 332.5 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00476/0.4007, allocations: 1.619 MB / 334.1 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.4021, allocations: 38.84 kB / 334.1 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.4028, allocations: 243.8 kB / 334.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.4046, allocations: 315.3 kB / 334.7 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009343/0.4056, allocations: 307.2 kB / 335 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00314/0.4087, allocations: 2.125 MB / 337.1 MB, free: 9.238 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00284/0.4116, allocations: 2.22 MB / 339.3 MB, free: 6.957 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.4131, allocations: 0.7196 MB / 340.1 MB, free: 6.234 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.4148, allocations: 0.9175 MB / 341 MB, free: 5.312 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.4151, allocations: 124 kB / 341.1 MB, free: 5.191 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008195/0.4159, allocations: 303.6 kB / 341.4 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.4164, allocations: 0.5021 MB / 341.9 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.4178, allocations: 1.016 MB / 342.9 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004819/0.4226, allocations: 3.548 MB / 346.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4226, allocations: 0 / 346.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4226, allocations: 0 / 346.5 MB, free: 15.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001208/0.4228, allocations: 4 kB / 346.5 MB, free: 15.8 MB / 286.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.00496/0.4277, allocations: 2.064 MB / 348.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.4278, allocations: 8.031 kB / 348.5 MB, free: 13.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007709/0.4286, allocations: 242.2 kB / 348.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00203/0.4306, allocations: 1.178 MB / 349.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.4308, allocations: 164.9 kB / 350.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003299/0.4311, allocations: 224.1 kB / 350.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006505/0.4376, allocations: 2.553 MB / 352.9 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/0.4377, allocations: 3.984 kB / 352.9 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.438, allocations: 88 kB / 353 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.4381, allocations: 56 kB / 353 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004265/0.4423, allocations: 2.153 MB / 355.2 MB, free: 6.902 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01634/0.4587, allocations: 7.643 MB / 362.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.4604, allocations: 1.264 MB / 364.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.4616, allocations: 0.618 MB / 364.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.4617, allocations: 8.562 kB / 364.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.4617, allocations: 39.12 kB / 364.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 5.04e-06/0.4617, allocations: 4 kB / 364.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004977/0.4667, allocations: 2.467 MB / 367.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.4668, allocations: 59.97 kB / 367.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.4682, allocations: 0.7932 MB / 368.1 MB, free: 9.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.4683, allocations: 37.7 kB / 368.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007178/0.469, allocations: 0.9137 MB / 369 MB, free: 8.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.4692, allocations: 228.7 kB / 369.2 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.4694, allocations: 69.69 kB / 369.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.4696, allocations: 394.7 kB / 369.7 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006188/0.4702, allocations: 369.8 kB / 370.1 MB, free: 7.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/0.471, allocations: 0.5868 MB / 370.6 MB, free: 6.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.4725, allocations: 0.9971 MB / 371.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4725, allocations: 0 / 371.6 MB, free: 5.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002178/0.4747, allocations: 1.163 MB / 372.8 MB, free: 4.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.4747, allocations: 11.94 kB / 372.8 MB, free: 4.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.4747, allocations: 11.94 kB / 372.8 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003325/0.4751, allocations: 108.8 kB / 372.9 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.4758, allocations: 179.8 kB / 373.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.4782, allocations: 2.138 MB / 375.2 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.4788, allocations: 39.97 kB / 375.3 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.4789, allocations: 36.06 kB / 375.3 MB, free: 1.934 MB / 302.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.001395/0.4803, allocations: 0.6535 MB / 376 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.4807, allocations: 79.06 kB / 376.1 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.481, allocations: 95.56 kB / 376.1 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.491e-05/0.481, allocations: 15.92 kB / 376.2 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.82e-05/0.481, allocations: 4 kB / 376.2 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.4811, allocations: 0 / 376.2 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/0.4866, allocations: 2.693 MB / 378.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.4867, allocations: 0 / 378.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.4872, allocations: 111.9 kB / 379 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002847/0.4875, allocations: 100.9 kB / 379.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.717e-05/0.4875, allocations: 20.05 kB / 379.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.4897, allocations: 2.076 MB / 381.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4898, allocations: 4.031 kB / 381.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.4921, allocations: 1.443 MB / 382.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004048/0.4925, allocations: 232.1 kB / 382.8 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.644e-05/0.4926, allocations: 15.98 kB / 382.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.493, allocations: 43.91 kB / 382.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.4932, allocations: 52.48 kB / 382.9 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.4932, allocations: 19.94 kB / 383 MB, free: 10 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008111/0.4941, allocations: 0.5614 MB / 383.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.795e-06/0.4941, allocations: 4 kB / 383.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001326/0.4954, allocations: 311.9 kB / 383.8 MB, free: 9.141 MB / 318.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.0003735/0.4958, allocations: 127.2 kB / 384 MB, free: 9.004 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001889/0.4977, allocations: 1.019 MB / 385 MB, free: 7.969 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4977, allocations: 0 / 385 MB, free: 7.969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009431/0.4987, allocations: 0.5679 MB / 385.5 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5, allocations: 207.3 kB / 385.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007472/0.5075, allocations: 4.198 MB / 389.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.509, allocations: 1.725 MB / 391.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007711/0.5098, allocations: 199.1 kB / 391.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.51, allocations: 63.42 kB / 391.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of SimCode: time 1.914e-06/0.51, allocations: 4 kB / 391.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of Templates: time 0.02596/0.536, allocations: 11.57 MB / 403.5 MB, free: 5.332 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)