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.001496/0.001496, allocations: 104.4 kB / 16.92 MB, free: 5.793 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.001805/0.001806, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.755/1.755, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.002201/0.002202, allocations: 56.09 kB / 280 MB, free: 3.168 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1665, allocations: 46.63 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.009277/0.1758, allocations: 5.965 MB / 332.6 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005127/0.181, allocations: 1.675 MB / 334.3 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.1822, allocations: 43.81 kB / 334.3 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009743/0.1833, allocations: 305.5 kB / 334.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.1849, allocations: 365.5 kB / 335 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008343/0.1858, allocations: 355.5 kB / 335.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.1879, allocations: 2.001 MB / 337.3 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003202/0.1911, allocations: 2.691 MB / 340 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.1929, allocations: 1.044 MB / 341 MB, free: 5.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.1949, allocations: 1.195 MB / 342.2 MB, free: 4.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004943/0.1954, allocations: 312 kB / 342.5 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.1965, allocations: 475.6 kB / 343 MB, free: 3.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008332/0.1973, allocations: 0.7364 MB / 343.7 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001826/0.1992, allocations: 1.249 MB / 345 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004115/0.2033, allocations: 3.751 MB / 348.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.2033, allocations: 0 / 348.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.45e-06/0.2033, allocations: 3.938 kB / 348.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.229e-05/0.2034, allocations: 0 / 348.7 MB, free: 14.19 MB / 302.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.006178/0.2096, allocations: 2.462 MB / 351.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.794e-05/0.2097, allocations: 12.03 kB / 351.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000808/0.2105, allocations: 242.1 kB / 351.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.2126, allocations: 1.17 MB / 352.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.2128, allocations: 168.9 kB / 352.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.2131, allocations: 224 kB / 353 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005028/0.2181, allocations: 2.538 MB / 355.5 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.182e-05/0.2182, allocations: 3.984 kB / 355.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.2184, allocations: 91.98 kB / 355.6 MB, free: 7.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.528e-05/0.2185, allocations: 64 kB / 355.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00394/0.2224, allocations: 2.13 MB / 357.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01358/0.236, allocations: 7.599 MB / 365.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.2376, allocations: 1.251 MB / 366.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.2387, allocations: 0.6219 MB / 367.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-05/0.2388, allocations: 8.562 kB / 367.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.2389, allocations: 39.12 kB / 367.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 4.509e-06/0.2389, allocations: 0 / 367.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.0047/0.2436, allocations: 2.435 MB / 369.8 MB, free: 8.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.2436, allocations: 63.91 kB / 369.8 MB, free: 8.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2448, allocations: 0.7932 MB / 370.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.2449, allocations: 41.69 kB / 370.7 MB, free: 7.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006702/0.2455, allocations: 0.9138 MB / 371.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.2457, allocations: 228.7 kB / 371.8 MB, free: 6.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.246, allocations: 150.5 kB / 372 MB, free: 6.312 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.2462, allocations: 394.7 kB / 372.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.2467, allocations: 365.8 kB / 372.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007355/0.2475, allocations: 0.5867 MB / 373.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.2489, allocations: 0.9816 MB / 374.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2489, allocations: 0 / 374.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001978/0.2509, allocations: 1.151 MB / 375.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.2509, allocations: 11.94 kB / 375.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.2509, allocations: 8 kB / 375.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003649/0.2513, allocations: 104.9 kB / 375.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007367/0.2521, allocations: 179.7 kB / 375.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3214/0.5735, allocations: 2.32 MB / 378 MB, free: 50.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.5747, allocations: 43.48 kB / 378.1 MB, free: 50.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.5749, allocations: 33.3 kB / 378.1 MB, free: 50.98 MB / 318.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.001766/0.5766, allocations: 0.6485 MB / 378.8 MB, free: 50.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.577, allocations: 85.59 kB / 378.8 MB, free: 50.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.5772, allocations: 99.55 kB / 378.9 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.892e-05/0.5773, allocations: 14.23 kB / 379 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/0.5773, allocations: 1.375 kB / 379 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.5774, allocations: 6.516 kB / 379 MB, free: 50.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007065/0.5844, allocations: 2.667 MB / 381.6 MB, free: 49.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.5845, allocations: 1.953 kB / 381.6 MB, free: 49.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.585, allocations: 115.5 kB / 381.7 MB, free: 49.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/0.5854, allocations: 100.2 kB / 381.8 MB, free: 49.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/0.5854, allocations: 19.53 kB / 381.9 MB, free: 49.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/0.5879, allocations: 2.268 MB / 384.1 MB, free: 47.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5879, allocations: 1.094 kB / 384.1 MB, free: 47.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.5905, allocations: 1.421 MB / 385.6 MB, free: 47.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/0.591, allocations: 228.4 kB / 385.8 MB, free: 47.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5911, allocations: 18.55 kB / 385.8 MB, free: 47.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/0.5916, allocations: 39.66 kB / 385.8 MB, free: 47.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.5918, allocations: 48.14 kB / 385.9 MB, free: 47.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/0.5919, allocations: 23.25 kB / 385.9 MB, free: 47.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.5931, allocations: 0.5598 MB / 386.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.983e-06/0.5931, allocations: 0 / 386.5 MB, free: 46.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001994/0.5951, allocations: 302.7 kB / 386.8 MB, free: 46.93 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.0003434/0.5955, allocations: 133.6 kB / 386.9 MB, free: 46.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.5983, allocations: 1.14 MB / 388 MB, free: 46.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5983, allocations: 0 / 388 MB, free: 46.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.5994, allocations: 0.5572 MB / 388.6 MB, free: 46.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.6006, allocations: 235.9 kB / 388.8 MB, free: 46.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007187/0.6078, allocations: 3.25 MB / 392.1 MB, free: 44.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.6096, allocations: 1.721 MB / 393.8 MB, free: 43.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009157/0.6105, allocations: 203.5 kB / 394 MB, free: 43.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.6107, allocations: 56.53 kB / 394 MB, free: 43.57 MB / 318.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6107, allocations: 1.406 kB / 394 MB, free: 43.57 MB / 318.1 MB Notification: Performance of Templates: time 0.02258/0.6333, allocations: 12.24 MB / 406.3 MB, free: 34.63 MB / 318.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)