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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 86.34 kB / 16.31 MB, free: 6.457 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.001185/0.001186, allocations: 180 kB / 17.21 MB, free: 6.328 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.761/1.761, allocations: 205.4 MB / 223.4 MB, free: 5.574 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.0005094/0.0005098, allocations: 12 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3071, allocations: 47.59 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006486/0.3136, allocations: 5.129 MB / 332.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003926/0.3176, allocations: 1.58 MB / 334.4 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.3182, allocations: 33.56 kB / 334.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.3187, allocations: 225.5 kB / 334.7 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.3198, allocations: 313.3 kB / 335 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005814/0.3204, allocations: 228.6 kB / 335.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002209/0.3226, allocations: 1.988 MB / 337.2 MB, free: 9.992 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.3248, allocations: 1.844 MB / 339.1 MB, free: 8.117 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.326, allocations: 0.7082 MB / 339.8 MB, free: 7.406 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.3271, allocations: 0.8867 MB / 340.6 MB, free: 6.516 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.3273, allocations: 124 kB / 340.8 MB, free: 6.395 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.3278, allocations: 243.8 kB / 341 MB, free: 6.156 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004308/0.3282, allocations: 0.4984 MB / 341.5 MB, free: 5.656 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.3287, allocations: 440.6 kB / 341.9 MB, free: 5.219 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.3314, allocations: 3.028 MB / 345 MB, free: 2.184 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3314, allocations: 0 / 345 MB, free: 2.184 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3314, allocations: 4 kB / 345 MB, free: 2.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.447e-05/0.3315, allocations: 0 / 345 MB, free: 2.18 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.003568/0.335, allocations: 2.091 MB / 347.1 MB, free: 28 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3351, allocations: 8.031 kB / 347.1 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.3357, allocations: 241.4 kB / 347.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.3374, allocations: 1.161 MB / 348.5 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.3375, allocations: 168.5 kB / 348.6 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.3378, allocations: 216 kB / 348.8 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/0.3421, allocations: 2.522 MB / 351.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.3421, allocations: 0 / 351.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.3423, allocations: 95.98 kB / 351.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/0.3424, allocations: 56 kB / 351.5 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00344/0.3459, allocations: 2.133 MB / 353.6 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.3568, allocations: 7.647 MB / 361.3 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.3581, allocations: 1.246 MB / 362.5 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009948/0.3591, allocations: 0.6219 MB / 363.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.144e-05/0.3592, allocations: 12.52 kB / 363.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.3593, allocations: 43.12 kB / 363.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 3.136e-06/0.3593, allocations: 0 / 363.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004419/0.3637, allocations: 2.463 MB / 365.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.3638, allocations: 63.91 kB / 365.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3648, allocations: 0.7855 MB / 366.5 MB, free: 12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.3649, allocations: 41.69 kB / 366.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000694/0.3656, allocations: 0.9176 MB / 367.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.3658, allocations: 224.7 kB / 367.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.3658, allocations: 16 kB / 367.7 MB, free: 10.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.366, allocations: 398.7 kB / 368.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.3666, allocations: 365.8 kB / 368.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.3674, allocations: 0.5868 MB / 369 MB, free: 9.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/0.3682, allocations: 465.9 kB / 369.5 MB, free: 8.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.3682, allocations: 3.938 kB / 369.5 MB, free: 8.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002047/0.3703, allocations: 1.151 MB / 370.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.3703, allocations: 8 kB / 370.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.3703, allocations: 12.2 kB / 370.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/0.3707, allocations: 116.8 kB / 370.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.3714, allocations: 171.7 kB / 371 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.374, allocations: 2.131 MB / 373.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/0.3746, allocations: 43.97 kB / 373.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/0.3747, allocations: 32 kB / 373.2 MB, free: 5.074 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 (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.001408/0.3761, allocations: 0.6496 MB / 373.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/0.3764, allocations: 82.97 kB / 373.9 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.3766, allocations: 103.6 kB / 374 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.992e-05/0.3767, allocations: 11.98 kB / 374 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.3767, allocations: 0 / 374 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.3767, allocations: 3.984 kB / 374 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/0.3825, allocations: 2.685 MB / 376.7 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3825, allocations: 4.031 kB / 376.7 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.383, allocations: 111.9 kB / 376.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.3833, allocations: 96.97 kB / 376.9 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.3834, allocations: 27.81 kB / 376.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.3859, allocations: 2.08 MB / 379 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.386, allocations: 4.031 kB / 379 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/0.3887, allocations: 1.439 MB / 380.5 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000643/0.3894, allocations: 216.2 kB / 380.7 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.3896, allocations: 27.98 kB / 380.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005983/0.3902, allocations: 47.97 kB / 380.7 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.3904, allocations: 48.42 kB / 380.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.3904, allocations: 20 kB / 380.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001177/0.3916, allocations: 0.5536 MB / 381.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3916, allocations: 0 / 381.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00176/0.3934, allocations: 296 kB / 381.7 MB, free: 12.3 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 (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.0004252/0.3938, allocations: 139.1 kB / 381.8 MB, free: 12.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.396, allocations: 1.009 MB / 382.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.3961, allocations: 1.688 kB / 382.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000957/0.397, allocations: 0.5721 MB / 383.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.3984, allocations: 214.9 kB / 383.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008061/0.4065, allocations: 3.984 MB / 387.6 MB, free: 6.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/0.4085, allocations: 1.725 MB / 389.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007471/0.4093, allocations: 203.1 kB / 389.5 MB, free: 4.344 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.4095, allocations: 59.44 kB / 389.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4095, allocations: 4 kB / 389.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of Templates: time 0.02285/0.4324, allocations: 11.3 MB / 400.8 MB, free: 8.969 MB / 334.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)