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.002024/0.002024, allocations: 105.1 kB / 17.06 MB, free: 6.027 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.002277/0.002277, allocations: 195 kB / 18 MB, free: 5.109 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.856/1.856, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001445/0.001445, allocations: 59.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1246, allocations: 46.61 MB / 374.5 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.3151/0.4397, allocations: 5.957 MB / 380.4 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004643/0.4444, allocations: 1.691 MB / 382.1 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009548/0.4454, allocations: 40.69 kB / 382.2 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008497/0.4463, allocations: 307.4 kB / 382.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.4479, allocations: 362.6 kB / 382.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009431/0.4489, allocations: 357.8 kB / 383.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002577/0.4515, allocations: 2.015 MB / 385.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003472/0.455, allocations: 2.697 MB / 387.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.4575, allocations: 1.032 MB / 388.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.4602, allocations: 1.207 MB / 390.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005862/0.4608, allocations: 313.1 kB / 390.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.4621, allocations: 481.7 kB / 390.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008277/0.4629, allocations: 0.7237 MB / 391.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.4646, allocations: 1.264 MB / 392.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006976/0.4716, allocations: 3.793 MB / 396.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.4716, allocations: 0 / 396.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.889e-06/0.4716, allocations: 0 / 396.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000238/0.4719, allocations: 0 / 396.7 MB, free: 3.289 MB / 318.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.008178/0.4801, allocations: 2.464 MB / 399.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.713e-05/0.4802, allocations: 9.156 kB / 399.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008738/0.481, allocations: 237.3 kB / 399.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/0.4836, allocations: 1.179 MB / 400.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.4838, allocations: 172.4 kB / 400.7 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/0.4842, allocations: 220.4 kB / 400.9 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005714/0.49, allocations: 2.535 MB / 403.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/0.49, allocations: 1.531 kB / 403.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/0.4902, allocations: 90.59 kB / 403.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.4903, allocations: 64.02 kB / 403.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005327/0.4957, allocations: 2.132 MB / 405.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.5123, allocations: 7.484 MB / 413.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.514, allocations: 1.248 MB / 414.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.5152, allocations: 0.6296 MB / 415.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.662e-05/0.5153, allocations: 8.547 kB / 415.1 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.5153, allocations: 39.12 kB / 415.2 MB, free: 6.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 4.008e-06/0.5153, allocations: 0 / 415.2 MB, free: 6.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.005163/0.5205, allocations: 2.439 MB / 417.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.5206, allocations: 55.97 kB / 417.7 MB, free: 3.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.5219, allocations: 0.801 MB / 418.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.522, allocations: 33.7 kB / 418.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008114/0.5228, allocations: 0.9176 MB / 419.4 MB, free: 2.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.523, allocations: 224.7 kB / 419.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.5233, allocations: 146.6 kB / 419.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003016/0.5237, allocations: 406.7 kB / 420.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/0.5243, allocations: 357.8 kB / 420.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008596/0.5252, allocations: 0.5868 MB / 421.1 MB, free: 228 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.5266, allocations: 0.9854 MB / 422.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.5267, allocations: 4 kB / 422.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002139/0.5288, allocations: 1.155 MB / 423.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.5288, allocations: 15.94 kB / 423.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5289, allocations: 4 kB / 423.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003146/0.5292, allocations: 108.8 kB / 423.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.5299, allocations: 171.7 kB / 423.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/0.5325, allocations: 2.334 MB / 425.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.5331, allocations: 35.97 kB / 425.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.5332, allocations: 39.98 kB / 426 MB, free: 11.13 MB / 350.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.001315/0.5345, allocations: 0.6457 MB / 426.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.5347, allocations: 83 kB / 426.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.5349, allocations: 107.6 kB / 426.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/0.535, allocations: 8 kB / 426.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/0.535, allocations: 4 kB / 426.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.535, allocations: 3.984 kB / 426.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/0.5397, allocations: 2.659 MB / 429.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.954e-06/0.5398, allocations: 8.203 kB / 429.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.5403, allocations: 103.9 kB / 429.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002813/0.5406, allocations: 104.7 kB / 429.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.5406, allocations: 15.98 kB / 429.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.5432, allocations: 2.267 MB / 432 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.5432, allocations: 4.031 kB / 432 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.5455, allocations: 1.42 MB / 433.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000569/0.5461, allocations: 224.1 kB / 433.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.5462, allocations: 16 kB / 433.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.5466, allocations: 47.95 kB / 433.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.5468, allocations: 48.44 kB / 433.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.5468, allocations: 23.98 kB / 433.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008745/0.5477, allocations: 0.5536 MB / 434.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.468e-06/0.5477, allocations: 0 / 434.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00149/0.5492, allocations: 303.9 kB / 434.6 MB, free: 2.211 MB / 350.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.0003616/0.5496, allocations: 139.1 kB / 434.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.5515, allocations: 1.014 MB / 435.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.5516, allocations: 4 kB / 435.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.5526, allocations: 0.5576 MB / 436.3 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.5538, allocations: 222 kB / 436.5 MB, free: 264 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006345/0.5601, allocations: 3.191 MB / 439.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/0.5618, allocations: 1.732 MB / 441.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007415/0.5626, allocations: 191.2 kB / 441.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.5628, allocations: 63.42 kB / 441.7 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 1.443e-06/0.5628, allocations: 0 / 441.7 MB, free: 11 MB / 366.1 MB Notification: Performance of Templates: time 0.0341/0.5969, allocations: 12.58 MB / 454.3 MB, free: 14.39 MB / 382.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)