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.001196/0.001196, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.01164/0.01164, allocations: 172 kB / 16.26 MB, free: 6.613 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.905/1.905, allocations: 205.4 MB / 222.4 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.0006004/0.000601, allocations: 16 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3287, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006457/0.3352, allocations: 5.459 MB / 332.5 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.3401, allocations: 1.616 MB / 334.1 MB, free: 11.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.3415, allocations: 38.41 kB / 334.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006752/0.3422, allocations: 244.6 kB / 334.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.3439, allocations: 318.7 kB / 334.7 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.3448, allocations: 303 kB / 335 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.3482, allocations: 2.122 MB / 337.1 MB, free: 9.254 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003017/0.3513, allocations: 2.224 MB / 339.3 MB, free: 6.969 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.3528, allocations: 0.7235 MB / 340.1 MB, free: 6.242 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.3544, allocations: 0.9175 MB / 341 MB, free: 5.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000236/0.3546, allocations: 124 kB / 341.1 MB, free: 5.199 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007906/0.3554, allocations: 299.6 kB / 341.4 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005144/0.356, allocations: 0.5021 MB / 341.9 MB, free: 4.402 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.3572, allocations: 1.016 MB / 342.9 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.3611, allocations: 3.548 MB / 346.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.3611, allocations: 4 kB / 346.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3611, allocations: 0 / 346.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.3612, allocations: 0 / 346.5 MB, free: 15.81 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.004951/0.3662, allocations: 2.068 MB / 348.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3663, allocations: 8.031 kB / 348.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007862/0.3671, allocations: 242.2 kB / 348.8 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.3691, allocations: 1.178 MB / 349.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.3693, allocations: 164.9 kB / 350.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.3696, allocations: 228.1 kB / 350.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005373/0.375, allocations: 2.545 MB / 352.9 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.3751, allocations: 0 / 352.9 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.3753, allocations: 92 kB / 353 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-05/0.3754, allocations: 60 kB / 353 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004228/0.3796, allocations: 2.145 MB / 355.2 MB, free: 6.918 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.3933, allocations: 7.65 MB / 362.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.395, allocations: 1.256 MB / 364.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.3962, allocations: 0.6257 MB / 364.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.702e-05/0.3963, allocations: 4.562 kB / 364.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.617e-05/0.3964, allocations: 47.06 kB / 364.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 4.638e-06/0.3964, allocations: 0 / 364.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.005138/0.4015, allocations: 2.47 MB / 367.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.4016, allocations: 59.97 kB / 367.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.4029, allocations: 0.7932 MB / 368.1 MB, free: 9.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/0.4029, allocations: 37.7 kB / 368.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007648/0.4037, allocations: 0.9137 MB / 369 MB, free: 8.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.404, allocations: 224.7 kB / 369.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.4041, allocations: 69.67 kB / 369.3 MB, free: 8.301 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.4044, allocations: 394.8 kB / 369.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006289/0.405, allocations: 373.8 kB / 370.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007856/0.4058, allocations: 0.5868 MB / 370.6 MB, free: 6.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.4073, allocations: 0.9971 MB / 371.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4073, allocations: 0 / 371.6 MB, free: 5.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002283/0.4096, allocations: 1.155 MB / 372.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.4097, allocations: 16.22 kB / 372.8 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.4097, allocations: 12 kB / 372.8 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/0.4101, allocations: 112.7 kB / 372.9 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.4108, allocations: 167.8 kB / 373.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.4133, allocations: 2.146 MB / 375.2 MB, free: 2.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.4139, allocations: 40.16 kB / 375.3 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.414, allocations: 44.05 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.001281/0.4153, allocations: 0.6496 MB / 376 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.4155, allocations: 79.06 kB / 376.1 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.4158, allocations: 103.6 kB / 376.2 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/0.4158, allocations: 11.94 kB / 376.2 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.4158, allocations: 0 / 376.2 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4158, allocations: 7.984 kB / 376.2 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/0.4204, allocations: 2.681 MB / 378.9 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4205, allocations: 0 / 378.9 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.421, allocations: 115.8 kB / 379 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002494/0.4212, allocations: 100.8 kB / 379.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.4213, allocations: 19.97 kB / 379.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.4234, allocations: 2.076 MB / 381.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4234, allocations: 4.031 kB / 381.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.4259, allocations: 1.443 MB / 382.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/0.4264, allocations: 220 kB / 382.8 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.4265, allocations: 19.98 kB / 382.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.427, allocations: 48.02 kB / 382.9 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.4271, allocations: 48.5 kB / 382.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.4272, allocations: 19.94 kB / 383 MB, free: 10.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.4282, allocations: 0.5575 MB / 383.5 MB, free: 9.461 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4282, allocations: 0 / 383.5 MB, free: 9.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001458/0.4297, allocations: 308 kB / 383.8 MB, free: 9.16 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.000355/0.4301, allocations: 143.3 kB / 384 MB, free: 9.008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.4321, allocations: 1.013 MB / 385 MB, free: 7.977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4322, allocations: 5.625 kB / 385 MB, free: 7.973 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4332, allocations: 0.5683 MB / 385.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.4349, allocations: 206.8 kB / 385.7 MB, free: 7.188 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009014/0.4439, allocations: 4.194 MB / 389.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/0.4461, allocations: 1.725 MB / 391.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009652/0.4471, allocations: 203.1 kB / 391.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.4473, allocations: 67.42 kB / 391.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4473, allocations: 0 / 391.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of Templates: time 0.03161/0.479, allocations: 11.58 MB / 403.5 MB, free: 5.332 MB / 334.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)