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.001054/0.001054, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001144/0.001144, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004969/0.000497, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.299, allocations: 47.57 MB / 326.4 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006338/0.3054, allocations: 4.864 MB / 331.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004397/0.3098, allocations: 1.629 MB / 332.9 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.3113, allocations: 38.28 kB / 333 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007905/0.3121, allocations: 251.5 kB / 333.2 MB, free: 12.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.314, allocations: 286.2 kB / 333.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3151, allocations: 235.1 kB / 333.7 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002241/0.3173, allocations: 1.268 MB / 335 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002315/0.3196, allocations: 1.862 MB / 336.9 MB, free: 9.047 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.3214, allocations: 0.685 MB / 337.5 MB, free: 8.359 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.3228, allocations: 0.8089 MB / 338.3 MB, free: 7.547 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.323, allocations: 124 kB / 338.5 MB, free: 7.426 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005592/0.3236, allocations: 251.8 kB / 338.7 MB, free: 7.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004636/0.3241, allocations: 494.5 kB / 339.2 MB, free: 6.695 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005916/0.3247, allocations: 428.6 kB / 339.6 MB, free: 6.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00379/0.3285, allocations: 3.044 MB / 342.7 MB, free: 3.219 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3285, allocations: 0 / 342.7 MB, free: 3.219 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3285, allocations: 0 / 342.7 MB, free: 3.219 MB / 270.1 MB Notification: Performance of Transformations before backend: time 0.0001042/0.3286, allocations: 0 / 342.7 MB, free: 3.219 MB / 270.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.004575/0.3332, allocations: 2.084 MB / 344.7 MB, free: 1.074 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3333, allocations: 12.03 kB / 344.8 MB, free: 1.062 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006171/0.3339, allocations: 241.2 kB / 345 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.3359, allocations: 1.153 MB / 346.1 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.3361, allocations: 168.5 kB / 346.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.3364, allocations: 216 kB / 346.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004562/0.3409, allocations: 2.514 MB / 349 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.341, allocations: 4 kB / 349 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/0.3412, allocations: 92 kB / 349.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.747e-05/0.3413, allocations: 56 kB / 349.2 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003643/0.3449, allocations: 2.126 MB / 351.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.3571, allocations: 7.647 MB / 359 MB, free: 2.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.3584, allocations: 1.246 MB / 360.2 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.3585, allocations: 16.55 kB / 360.2 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3585, allocations: 39.06 kB / 360.3 MB, free: 1.082 MB / 286.1 MB Notification: Performance of pre-optimization done (n=63): time 3.026e-06/0.3585, allocations: 0 / 360.3 MB, free: 1.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=64): time 0.004076/0.3626, allocations: 2.587 MB / 362.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3626, allocations: 59.91 kB / 362.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3637, allocations: 0.7931 MB / 363.7 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.3637, allocations: 37.7 kB / 363.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007086/0.3644, allocations: 0.9176 MB / 364.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.3646, allocations: 228.7 kB / 364.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.3647, allocations: 19.98 kB / 364.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.3649, allocations: 390.8 kB / 365.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/0.3655, allocations: 373.7 kB / 365.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/0.3663, allocations: 0.579 MB / 366.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007346/0.367, allocations: 469.9 kB / 366.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.367, allocations: 4 kB / 366.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001808/0.3688, allocations: 1.135 MB / 367.8 MB, free: 9.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.3689, allocations: 12.09 kB / 367.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.3689, allocations: 8 kB / 367.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002873/0.3692, allocations: 80.81 kB / 367.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.3699, allocations: 179.7 kB / 368.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.3721, allocations: 1.947 MB / 370 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.3727, allocations: 55.92 kB / 370.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.3728, allocations: 35.98 kB / 370.1 MB, free: 6.812 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 (91): * Single equations (assignments): 88 * Array equations: 2 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001455/0.3742, allocations: 0.6497 MB / 370.8 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.3744, allocations: 82.97 kB / 370.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.3746, allocations: 95.56 kB / 370.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.743e-05/0.3747, allocations: 11.98 kB / 371 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.3747, allocations: 4 kB / 371 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3747, allocations: 4 kB / 371 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/0.3792, allocations: 2.621 MB / 373.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3792, allocations: 4 kB / 373.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.3797, allocations: 116 kB / 373.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001838/0.3799, allocations: 80.69 kB / 373.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.3799, allocations: 16 kB / 373.8 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.3819, allocations: 1.908 MB / 375.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.382, allocations: 0 / 375.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.384, allocations: 1.422 MB / 377.1 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004988/0.3845, allocations: 228.1 kB / 377.4 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.3846, allocations: 16 kB / 377.4 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.385, allocations: 52.08 kB / 377.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.3852, allocations: 48.48 kB / 377.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.3852, allocations: 19.98 kB / 377.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007762/0.386, allocations: 0.5497 MB / 378 MB, free: 14.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.386, allocations: 0 / 378 MB, free: 14.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001256/0.3873, allocations: 296 kB / 378.3 MB, free: 14.33 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (56): * Single equations (assignments): 53 * Array equations: 2 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000277/0.3876, allocations: 131.1 kB / 378.5 MB, free: 14.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.3893, allocations: 1.007 MB / 379.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3893, allocations: 0 / 379.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.3901, allocations: 0.5369 MB / 380 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/0.3911, allocations: 207 kB / 380.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00629/0.3974, allocations: 3.974 MB / 384.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.3988, allocations: 1.752 MB / 385.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006582/0.3994, allocations: 211 kB / 386.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.3996, allocations: 63.42 kB / 386.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3996, allocations: 0 / 386.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of Templates: time 0.02086/0.4205, allocations: 11.25 MB / 397.4 MB, free: 11.08 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: