Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00692/0.00692, allocations: 102 kB / 15.73 MB, free: 6.051 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.001559/0.001559, allocations: 191.4 kB / 16.67 MB, free: 5.965 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.389/1.389, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.0021/0.0021, allocations: 58.48 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1194, allocations: 46.62 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01689/0.1364, allocations: 16.84 MB / 390 MB, free: 376 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008804/0.1452, allocations: 4.24 MB / 394.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.148, allocations: 115.7 kB / 394.4 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0161/0.1641, allocations: 7.472 MB / 401.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006798/0.171, allocations: 1.534 MB / 403.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.1751, allocations: 1.216 MB / 404.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.1867, allocations: 8.561 MB / 413.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03502/0.2217, allocations: 22.57 MB / 435.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00692/0.2287, allocations: 4.96 MB / 440.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008509/0.2372, allocations: 5.532 MB / 446.2 MB, free: 7.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003715/0.241, allocations: 1.402 MB / 447.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005784/0.2468, allocations: 1.656 MB / 449.3 MB, free: 4.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004101/0.2509, allocations: 2.708 MB / 452 MB, free: 2.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2268/0.4778, allocations: 5.379 MB / 457.4 MB, free: 31.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02102/0.4988, allocations: 18.54 MB / 475.9 MB, free: 28.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4989, allocations: 0 / 475.9 MB, free: 28.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4989, allocations: 3.5 kB / 475.9 MB, free: 28.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000575/0.4995, allocations: 0 / 475.9 MB, free: 28.23 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03482/0.5343, allocations: 10.78 MB / 486.7 MB, free: 21.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5344, allocations: 9.812 kB / 486.7 MB, free: 21.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02945/0.5638, allocations: 5.709 MB / 492.4 MB, free: 18.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/0.5766, allocations: 4.842 MB / 497.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006479/0.5773, allocations: 0.7055 MB / 498 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005901/0.5833, allocations: 0.9197 MB / 498.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03828/0.6215, allocations: 13.59 MB / 0.5005 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002368/0.6218, allocations: 11.91 kB / 0.5005 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002039/0.6239, allocations: 387.1 kB / 0.5009 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003506/0.6242, allocations: 460 kB / 0.5013 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03012/0.6544, allocations: 12.82 MB / 0.5138 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08689/0.7413, allocations: 46.33 MB / 0.5591 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01557/0.7569, allocations: 17.1 MB / 0.5758 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002881/0.7598, allocations: 1.863 MB / 0.5776 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.7709, allocations: 5.96 MB / 0.5834 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.771, allocations: 55.19 kB / 0.5834 GB, free: 11.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.937e-06/0.771, allocations: 0 / 0.5834 GB, free: 11.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.008138/0.7791, allocations: 4.31 MB / 0.5877 GB, free: 7.539 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.7792, allocations: 77 kB / 0.5877 GB, free: 7.457 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005408/0.7846, allocations: 3.332 MB / 0.591 GB, free: 4.105 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.7849, allocations: 53.7 kB / 0.591 GB, free: 4.047 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00263/0.7875, allocations: 4.185 MB / 0.5951 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007165/0.7883, allocations: 0.6908 MB / 0.5958 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/0.7898, allocations: 1.055 MB / 0.5968 GB, free: 14.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7899, allocations: 305.1 kB / 0.5971 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/0.7931, allocations: 2.044 MB / 0.5991 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004704/0.7978, allocations: 4.686 MB / 0.6037 GB, free: 5.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008002/0.8058, allocations: 7.096 MB / 0.6106 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.362e-05/0.8059, allocations: 24 kB / 0.6106 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01246/0.8184, allocations: 7.014 MB / 0.6175 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.8185, allocations: 44 kB / 0.6175 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001948/0.8187, allocations: 92 kB / 0.6176 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.8198, allocations: 438.9 kB / 0.618 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004097/0.8239, allocations: 1.169 MB / 0.6192 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/0.8295, allocations: 4.383 MB / 0.6235 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004818/0.8343, allocations: 0.7237 MB / 0.6242 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007828/0.8351, allocations: 284 kB / 0.6244 GB, free: 184 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006496/0.8416, allocations: 3.485 MB / 0.6278 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006755/0.8423, allocations: 288.4 kB / 0.6281 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005319/0.8476, allocations: 3.313 MB / 0.6313 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003623/0.8513, allocations: 2.543 MB / 0.6338 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/0.8513, allocations: 4 kB / 0.6338 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.8513, allocations: 11.97 kB / 0.6338 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2344/1.086, allocations: 9.295 MB / 0.6429 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/1.086, allocations: 1.531 kB / 0.6429 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/1.087, allocations: 355.8 kB / 0.6433 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007544/1.088, allocations: 314.8 kB / 0.6436 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/1.088, allocations: 41.69 kB / 0.6436 GB, free: 184.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004845/1.093, allocations: 4.193 MB / 0.6477 GB, free: 182.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.093, allocations: 2.594 kB / 0.6477 GB, free: 182.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005998/1.099, allocations: 4.705 MB / 0.6523 GB, free: 182 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.1, allocations: 0.5913 MB / 0.6529 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/1.101, allocations: 31.88 kB / 0.6529 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.102, allocations: 129.4 kB / 0.653 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/1.102, allocations: 132.9 kB / 0.6532 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.102, allocations: 61.84 kB / 0.6532 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002928/1.105, allocations: 2.192 MB / 0.6554 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/1.105, allocations: 0 / 0.6554 GB, free: 180.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005877/1.111, allocations: 2.029 MB / 0.6573 GB, free: 180.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005933/1.112, allocations: 209.6 kB / 0.6575 GB, free: 180 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007111/1.119, allocations: 4.726 MB / 0.6622 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.119, allocations: 4.406 kB / 0.6622 GB, free: 178.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.121, allocations: 1.592 MB / 0.6637 GB, free: 177.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/1.124, allocations: 0.6827 MB / 0.6644 GB, free: 177.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.144, allocations: 13.68 MB / 0.6777 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004464/1.148, allocations: 5.79 MB / 0.6834 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00363/1.152, allocations: 1.831 MB / 0.6852 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/1.153, allocations: 238.9 kB / 0.6854 GB, free: 162 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/1.153, allocations: 0 / 0.6854 GB, free: 162 MB / 0.5137 GB Notification: Performance of Templates: time 0.05974/1.212, allocations: 39.6 MB / 0.7241 GB, free: 123.9 MB / 0.5137 GB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)