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.001237/0.001237, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00193/0.00193, allocations: 168.7 kB / 15.95 MB, free: 204 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.77/1.77, allocations: 205.4 MB / 222.1 MB, free: 5.586 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.0005206/0.000521, allocations: 8 kB / 278.9 MB, free: 12.93 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3291, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006095/0.3352, allocations: 5.129 MB / 331.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.3397, allocations: 1.582 MB / 333.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009925/0.3407, allocations: 39.44 kB / 333.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.3413, allocations: 228.1 kB / 333.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.3426, allocations: 305 kB / 333.7 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.3433, allocations: 230.1 kB / 334 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002817/0.3461, allocations: 1.992 MB / 336 MB, free: 9.988 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002601/0.3487, allocations: 1.852 MB / 337.8 MB, free: 8.105 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.3506, allocations: 0.6966 MB / 338.5 MB, free: 7.406 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.3518, allocations: 0.875 MB / 339.4 MB, free: 6.527 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.352, allocations: 132 kB / 339.5 MB, free: 6.398 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005482/0.3525, allocations: 251.8 kB / 339.8 MB, free: 6.152 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004724/0.353, allocations: 0.4945 MB / 340.3 MB, free: 5.656 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.3535, allocations: 428.6 kB / 340.7 MB, free: 5.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003078/0.3565, allocations: 3.044 MB / 343.7 MB, free: 2.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.3566, allocations: 4 kB / 343.7 MB, free: 2.176 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.3566, allocations: 0 / 343.7 MB, free: 2.176 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.436e-05/0.3567, allocations: 0 / 343.7 MB, free: 2.176 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.004234/0.3609, allocations: 2.091 MB / 345.8 MB, free: 24 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.361, allocations: 8.031 kB / 345.8 MB, free: 16 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.3616, allocations: 237.4 kB / 346 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.3634, allocations: 1.157 MB / 347.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.3636, allocations: 168.5 kB / 347.4 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/0.3639, allocations: 220 kB / 347.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004644/0.3685, allocations: 2.526 MB / 350.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.3686, allocations: 0 / 350.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.3688, allocations: 88 kB / 350.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-05/0.3689, allocations: 60 kB / 350.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.3725, allocations: 2.137 MB / 352.4 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.3847, allocations: 7.643 MB / 360 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.3862, allocations: 1.254 MB / 361.3 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.3874, allocations: 0.6218 MB / 361.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.3875, allocations: 12.5 kB / 361.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.3875, allocations: 43.12 kB / 362 MB, free: 15.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 4.659e-06/0.3875, allocations: 0 / 362 MB, free: 15.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004665/0.3922, allocations: 2.455 MB / 364.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.3923, allocations: 63.97 kB / 364.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.3934, allocations: 0.7854 MB / 365.3 MB, free: 12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.3934, allocations: 41.64 kB / 365.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006844/0.3941, allocations: 0.9215 MB / 366.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.3943, allocations: 224.8 kB / 366.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.3943, allocations: 16 kB / 366.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3946, allocations: 390.7 kB / 366.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.3951, allocations: 369.8 kB / 367.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008423/0.396, allocations: 0.5829 MB / 367.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/0.3967, allocations: 469.8 kB / 368.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3967, allocations: 4 kB / 368.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002029/0.3988, allocations: 1.155 MB / 369.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.3988, allocations: 8 kB / 369.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.3988, allocations: 11.95 kB / 369.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.3992, allocations: 112.8 kB / 369.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.3999, allocations: 171.8 kB / 369.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.4024, allocations: 2.131 MB / 371.8 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.4029, allocations: 40.03 kB / 371.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.313e-05/0.403, allocations: 39.98 kB / 371.9 MB, free: 5.07 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.001564/0.4045, allocations: 0.6496 MB / 372.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.4048, allocations: 86.97 kB / 372.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.405, allocations: 95.56 kB / 372.7 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/0.4051, allocations: 8 kB / 372.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.12e-05/0.4051, allocations: 4 kB / 372.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.4051, allocations: 4.172 kB / 372.8 MB, free: 4.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005035/0.4102, allocations: 2.689 MB / 375.4 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.4102, allocations: 7.938 kB / 375.5 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.4107, allocations: 116 kB / 375.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.4109, allocations: 96.84 kB / 375.7 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.411, allocations: 27.94 kB / 375.7 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.4133, allocations: 2.068 MB / 377.8 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4133, allocations: 4.062 kB / 377.8 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.4155, allocations: 1.447 MB / 379.2 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.4159, allocations: 220.1 kB / 379.4 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.4161, allocations: 12 kB / 379.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.4165, allocations: 47.95 kB / 379.5 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.4166, allocations: 48.48 kB / 379.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.4167, allocations: 24.06 kB / 379.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009293/0.4176, allocations: 0.5458 MB / 380.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4176, allocations: 0 / 380.1 MB, free: 12.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001501/0.4191, allocations: 296 kB / 380.4 MB, free: 12.31 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.0003471/0.4195, allocations: 143 kB / 380.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.4215, allocations: 1.01 MB / 381.5 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.4216, allocations: 4 kB / 381.5 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009603/0.4225, allocations: 0.5649 MB / 382.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4237, allocations: 207 kB / 382.3 MB, free: 10.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008097/0.4318, allocations: 4.003 MB / 386.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.434, allocations: 1.725 MB / 388 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006806/0.4347, allocations: 207.1 kB / 388.2 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.4349, allocations: 55.44 kB / 388.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4349, allocations: 0 / 388.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of Templates: time 0.02575/0.4607, allocations: 11.3 MB / 399.6 MB, free: 8.973 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)