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.001924/0.001924, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002911/0.00291, allocations: 192.2 kB / 16.13 MB, free: 6.664 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.843/1.843, allocations: 205.1 MB / 222 MB, free: 4.738 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.001557/0.001558, allocations: 51.92 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4125, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.01055/0.4232, allocations: 5.94 MB / 330.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005552/0.4288, allocations: 1.638 MB / 332.2 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.4308, allocations: 39.38 kB / 332.3 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.4321, allocations: 250.2 kB / 332.5 MB, free: 11.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.4345, allocations: 318.5 kB / 332.8 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.4356, allocations: 311.5 kB / 333.1 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003127/0.4387, allocations: 2.128 MB / 335.3 MB, free: 9.52 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.4416, allocations: 2.244 MB / 337.5 MB, free: 7.215 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.4432, allocations: 0.9031 MB / 338.4 MB, free: 6.309 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.445, allocations: 1.148 MB / 339.6 MB, free: 5.156 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.4454, allocations: 208 kB / 339.8 MB, free: 4.953 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009581/0.4463, allocations: 387.6 kB / 340.1 MB, free: 4.574 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006124/0.447, allocations: 0.6153 MB / 340.8 MB, free: 3.957 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.4486, allocations: 1.147 MB / 341.9 MB, free: 2.805 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.4523, allocations: 3.678 MB / 345.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.4524, allocations: 0 / 345.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4524, allocations: 0 / 345.6 MB, free: 15.12 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001181/0.4525, allocations: 0 / 345.6 MB, free: 15.12 MB / 286.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.005561/0.4581, allocations: 2.458 MB / 348 MB, free: 12.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.79e-05/0.4582, allocations: 12.03 kB / 348.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006775/0.4589, allocations: 238.1 kB / 348.3 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.4609, allocations: 1.174 MB / 349.5 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.461, allocations: 172.9 kB / 349.6 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.4613, allocations: 224.1 kB / 349.9 MB, free: 10.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/0.4663, allocations: 2.534 MB / 352.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.451e-05/0.4664, allocations: 8 kB / 352.4 MB, free: 8.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.4666, allocations: 91.94 kB / 352.5 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.102e-05/0.4667, allocations: 56 kB / 352.5 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004037/0.4707, allocations: 2.134 MB / 354.7 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.4847, allocations: 7.588 MB / 362.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.4865, allocations: 1.26 MB / 363.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.4877, allocations: 0.6256 MB / 364.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-05/0.4878, allocations: 8.562 kB / 364.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.089e-05/0.4878, allocations: 43.12 kB / 364.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 5.35e-06/0.4879, allocations: 0 / 364.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.005604/0.4935, allocations: 2.431 MB / 366.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.4935, allocations: 59.97 kB / 366.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.4947, allocations: 0.797 MB / 367.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.4947, allocations: 37.7 kB / 367.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006974/0.4954, allocations: 0.9177 MB / 368.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.4956, allocations: 224.8 kB / 368.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.4959, allocations: 150.5 kB / 368.8 MB, free: 7.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4961, allocations: 386.8 kB / 369.2 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.4966, allocations: 369.7 kB / 369.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/0.4975, allocations: 0.5751 MB / 370.1 MB, free: 5.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.499, allocations: 0.9893 MB / 371.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.499, allocations: 7.938 kB / 371.1 MB, free: 4.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002127/0.5012, allocations: 1.147 MB / 372.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.5012, allocations: 15.92 kB / 372.3 MB, free: 3.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.5012, allocations: 8 kB / 372.3 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.5016, allocations: 100.8 kB / 372.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.5023, allocations: 183.8 kB / 372.6 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/0.505, allocations: 2.138 MB / 374.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/0.5057, allocations: 40.16 kB / 374.7 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.5058, allocations: 28 kB / 374.8 MB, free: 0.9375 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 (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.001578/0.5074, allocations: 0.6463 MB / 375.4 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.5077, allocations: 91.02 kB / 375.5 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.5079, allocations: 95.56 kB / 375.6 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/0.508, allocations: 15.88 kB / 375.6 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/0.508, allocations: 4 kB / 375.6 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.508, allocations: 3.984 kB / 375.6 MB, free: 72 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004727/0.5128, allocations: 2.669 MB / 378.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.5128, allocations: 4 kB / 378.3 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004739/0.5133, allocations: 103.9 kB / 378.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.5136, allocations: 104.9 kB / 378.5 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.5136, allocations: 16 kB / 378.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.5159, allocations: 2.068 MB / 380.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5159, allocations: 0 / 380.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.5182, allocations: 1.423 MB / 382 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/0.5187, allocations: 228.1 kB / 382.2 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/0.5188, allocations: 15.98 kB / 382.2 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.5192, allocations: 39.95 kB / 382.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.5194, allocations: 52.47 kB / 382.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.5194, allocations: 19.94 kB / 382.4 MB, free: 9.062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008382/0.5203, allocations: 0.5615 MB / 382.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5203, allocations: 3.938 kB / 382.9 MB, free: 8.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001283/0.5216, allocations: 304 kB / 383.2 MB, free: 8.207 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 (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.0003833/0.522, allocations: 131.3 kB / 383.3 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.5239, allocations: 0.9993 MB / 384.3 MB, free: 7.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.524, allocations: 3.938 kB / 384.3 MB, free: 7.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009173/0.5249, allocations: 0.5683 MB / 384.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5261, allocations: 206.9 kB / 385.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007229/0.5334, allocations: 4.143 MB / 389.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.535, allocations: 1.721 MB / 391 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008108/0.5359, allocations: 211.1 kB / 391.2 MB, free: 116 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.5361, allocations: 55.44 kB / 391.2 MB, free: 60 kB / 318.1 MB Notification: Performance of SimCode: time 1.753e-06/0.5361, allocations: 4 kB / 391.2 MB, free: 56 kB / 318.1 MB Notification: Performance of Templates: time 0.02668/0.5628, allocations: 11.72 MB / 403 MB, free: 4.32 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)