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.001066/0.001066, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001266/0.001266, allocations: 172.7 kB / 15.95 MB, free: 208 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.691/1.691, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.0004427/0.0004427, allocations: 8 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3215, allocations: 47.58 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006812/0.3284, allocations: 5.133 MB / 331.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004634/0.3331, allocations: 1.583 MB / 333.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.3345, allocations: 38.19 kB / 333.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.3352, allocations: 220.9 kB / 333.4 MB, free: 11.86 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.3366, allocations: 309 kB / 333.7 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.3373, allocations: 225.5 kB / 334 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002718/0.34, allocations: 1.988 MB / 335.9 MB, free: 10.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002471/0.3425, allocations: 1.852 MB / 337.8 MB, free: 8.141 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.344, allocations: 0.7082 MB / 338.5 MB, free: 7.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.3452, allocations: 0.8712 MB / 339.4 MB, free: 6.555 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.3454, allocations: 131.9 kB / 339.5 MB, free: 6.426 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.346, allocations: 251.7 kB / 339.7 MB, free: 6.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000522/0.3465, allocations: 0.4945 MB / 340.2 MB, free: 5.684 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000685/0.3472, allocations: 436.6 kB / 340.7 MB, free: 5.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003289/0.3505, allocations: 3.036 MB / 343.7 MB, free: 2.207 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3505, allocations: 0 / 343.7 MB, free: 2.207 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3505, allocations: 0 / 343.7 MB, free: 2.207 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.775e-05/0.3506, allocations: 0 / 343.7 MB, free: 2.207 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.004171/0.3548, allocations: 2.091 MB / 345.8 MB, free: 56 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3549, allocations: 8.031 kB / 345.8 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006327/0.3555, allocations: 237.4 kB / 346 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.3572, allocations: 1.161 MB / 347.2 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.3574, allocations: 164.5 kB / 347.4 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.3577, allocations: 220 kB / 347.6 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004645/0.3624, allocations: 2.526 MB / 350.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.3624, allocations: 0 / 350.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/0.3626, allocations: 92 kB / 350.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.164e-05/0.3627, allocations: 56 kB / 350.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003809/0.3665, allocations: 2.133 MB / 352.4 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.3793, allocations: 7.655 MB / 360 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.3806, allocations: 1.25 MB / 361.3 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.3817, allocations: 0.618 MB / 361.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.3818, allocations: 12.52 kB / 361.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.3818, allocations: 43.12 kB / 362 MB, free: 15.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 2.043e-06/0.3818, allocations: 0 / 362 MB, free: 15.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.00546/0.3873, allocations: 2.463 MB / 364.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.3874, allocations: 63.91 kB / 364.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.3888, allocations: 0.7855 MB / 365.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.3889, allocations: 41.69 kB / 365.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009844/0.3899, allocations: 0.9215 MB / 366.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.3901, allocations: 224.7 kB / 366.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.3902, allocations: 16 kB / 366.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002594/0.3904, allocations: 390.8 kB / 366.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/0.3911, allocations: 369.7 kB / 367.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.3918, allocations: 0.5868 MB / 367.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.3925, allocations: 465.9 kB / 368.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.3925, allocations: 4 kB / 368.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002108/0.3946, allocations: 1.151 MB / 369.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.3947, allocations: 8 kB / 369.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.3947, allocations: 11.95 kB / 369.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000391/0.3951, allocations: 112.9 kB / 369.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/0.3958, allocations: 175.7 kB / 369.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.3984, allocations: 2.123 MB / 371.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.3991, allocations: 43.97 kB / 371.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.3992, allocations: 36.06 kB / 371.9 MB, free: 5.102 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.001574/0.4008, allocations: 0.6496 MB / 372.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.4011, allocations: 82.97 kB / 372.6 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.4013, allocations: 99.55 kB / 372.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.69e-05/0.4013, allocations: 8.188 kB / 372.7 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/0.4014, allocations: 4 kB / 372.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4014, allocations: 7.922 kB / 372.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005302/0.4067, allocations: 2.689 MB / 375.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.4067, allocations: 4 kB / 375.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.4073, allocations: 116.1 kB / 375.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.4075, allocations: 100.7 kB / 375.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.4076, allocations: 19.95 kB / 375.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.4101, allocations: 2.072 MB / 377.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.4101, allocations: 4.125 kB / 377.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.4124, allocations: 1.443 MB / 379.2 MB, free: 13.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.413, allocations: 220.1 kB / 379.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.4131, allocations: 16 kB / 379.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.4137, allocations: 47.95 kB / 379.5 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.4139, allocations: 48.38 kB / 379.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.4139, allocations: 28.05 kB / 379.5 MB, free: 13.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.4149, allocations: 0.5458 MB / 380.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4149, allocations: 0 / 380.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001671/0.4166, allocations: 300 kB / 380.4 MB, free: 12.33 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.0004611/0.4171, allocations: 135.1 kB / 380.5 MB, free: 12.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.4196, allocations: 1.018 MB / 381.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4196, allocations: 0 / 381.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009709/0.4206, allocations: 0.5686 MB / 382.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.422, allocations: 215 kB / 382.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007144/0.4292, allocations: 3.988 MB / 386.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/0.4309, allocations: 1.729 MB / 388 MB, free: 4.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008553/0.4318, allocations: 207.1 kB / 388.2 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.432, allocations: 63.36 kB / 388.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4321, allocations: 4 kB / 388.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of Templates: time 0.02562/0.4577, allocations: 11.29 MB / 399.6 MB, free: 8.992 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)