Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01077/0.01077, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.001953/0.001953, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.479/1.479, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.001125/0.001125, allocations: 50.22 kB / 326.6 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08904, allocations: 46.62 MB / 373.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01694/0.106, allocations: 16.85 MB / 390 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008781/0.1148, allocations: 4.248 MB / 394.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/0.1175, allocations: 111.7 kB / 394.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01597/0.1335, allocations: 7.491 MB / 401.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006208/0.1397, allocations: 1.538 MB / 403.4 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.143, allocations: 1.224 MB / 404.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008982/0.152, allocations: 8.569 MB / 413.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0277/0.1797, allocations: 22.57 MB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005938/0.1857, allocations: 4.968 MB / 440.7 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007871/0.1936, allocations: 5.528 MB / 446.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002818/0.1964, allocations: 1.402 MB / 447.7 MB, free: 6.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004069/0.2005, allocations: 1.656 MB / 449.3 MB, free: 4.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002666/0.2032, allocations: 2.712 MB / 452 MB, free: 2.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2175/0.4207, allocations: 5.373 MB / 457.4 MB, free: 31.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02257/0.4434, allocations: 18.55 MB / 476 MB, free: 28.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4434, allocations: 0 / 476 MB, free: 28.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4434, allocations: 0 / 476 MB, free: 28.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005314/0.444, allocations: 1.594 kB / 476 MB, free: 28.34 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.03367/0.4777, allocations: 10.78 MB / 486.7 MB, free: 21.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4777, allocations: 11.5 kB / 486.8 MB, free: 21.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02976/0.5075, allocations: 5.7 MB / 492.5 MB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.519, allocations: 4.85 MB / 497.3 MB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006814/0.5197, allocations: 0.703 MB / 498 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004509/0.5242, allocations: 0.9202 MB / 498.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03939/0.5637, allocations: 13.6 MB / 0.5005 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004259/0.5641, allocations: 7.906 kB / 0.5005 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003977/0.5681, allocations: 389.9 kB / 0.5009 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004129/0.5686, allocations: 456 kB / 0.5013 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03001/0.5986, allocations: 12.82 MB / 0.5138 GB, free: 6.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09191/0.6905, allocations: 46.33 MB / 0.5591 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/0.7067, allocations: 17.09 MB / 0.5758 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.7098, allocations: 1.876 MB / 0.5776 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/0.7214, allocations: 5.962 MB / 0.5834 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.7215, allocations: 52.56 kB / 0.5835 GB, free: 11.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 5.29e-06/0.7215, allocations: 0 / 0.5835 GB, free: 11.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.008371/0.7299, allocations: 4.309 MB / 0.5877 GB, free: 7.598 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.7299, allocations: 73.41 kB / 0.5878 GB, free: 7.516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007122/0.737, allocations: 3.328 MB / 0.591 GB, free: 4.168 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.7373, allocations: 57.7 kB / 0.5911 GB, free: 4.105 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003625/0.7409, allocations: 4.186 MB / 0.5952 GB, free: 15.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000824/0.7417, allocations: 0.6865 MB / 0.5958 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002503/0.7442, allocations: 1.055 MB / 0.5969 GB, free: 14.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.7444, allocations: 305.1 kB / 0.5971 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003558/0.748, allocations: 2.04 MB / 0.5991 GB, free: 11.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006058/0.754, allocations: 4.69 MB / 0.6037 GB, free: 5.855 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009342/0.7634, allocations: 7.097 MB / 0.6107 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.963e-05/0.7635, allocations: 31.88 kB / 0.6107 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01357/0.7771, allocations: 7.016 MB / 0.6175 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-05/0.7772, allocations: 44 kB / 0.6176 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/0.7774, allocations: 92 kB / 0.6177 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.7785, allocations: 434.9 kB / 0.6181 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004013/0.7825, allocations: 1.171 MB / 0.6192 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/0.7881, allocations: 4.378 MB / 0.6235 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004044/0.7922, allocations: 0.716 MB / 0.6242 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000601/0.7928, allocations: 286.6 kB / 0.6245 GB, free: 252 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.005864/0.7986, allocations: 3.495 MB / 0.6279 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006358/0.7993, allocations: 288.3 kB / 0.6282 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005415/0.8047, allocations: 3.307 MB / 0.6314 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00381/0.8085, allocations: 2.539 MB / 0.6339 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.8086, allocations: 7.984 kB / 0.6339 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/0.8086, allocations: 7.969 kB / 0.6339 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2504/1.059, allocations: 9.301 MB / 0.643 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.059, allocations: 1.375 kB / 0.643 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.06, allocations: 359.8 kB / 0.6433 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007501/1.061, allocations: 312.3 kB / 0.6436 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.061, allocations: 43.41 kB / 0.6436 GB, free: 184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004792/1.066, allocations: 4.189 MB / 0.6477 GB, free: 182.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.066, allocations: 7.562 kB / 0.6477 GB, free: 182.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005703/1.072, allocations: 4.697 MB / 0.6523 GB, free: 182 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.073, allocations: 0.5917 MB / 0.6529 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/1.073, allocations: 35.84 kB / 0.6529 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.074, allocations: 129.8 kB / 0.6531 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/1.075, allocations: 134.9 kB / 0.6532 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.075, allocations: 54.92 kB / 0.6533 GB, free: 181.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002917/1.078, allocations: 2.2 MB / 0.6554 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/1.078, allocations: 0 / 0.6554 GB, free: 180.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005146/1.083, allocations: 2.025 MB / 0.6574 GB, free: 180.1 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.0004077/1.083, allocations: 199.4 kB / 0.6576 GB, free: 180 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006276/1.09, allocations: 4.725 MB / 0.6622 GB, free: 178.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.09, allocations: 0 / 0.6622 GB, free: 178.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/1.091, allocations: 1.598 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.002961/1.094, allocations: 0.6819 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.02591/1.12, allocations: 13.69 MB / 0.6778 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007612/1.128, allocations: 5.796 MB / 0.6834 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004084/1.132, allocations: 1.826 MB / 0.6852 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/1.133, allocations: 229.4 kB / 0.6854 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/1.133, allocations: 0 / 0.6854 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.06496/1.198, allocations: 39.6 MB / 0.7241 GB, free: 124 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1)