Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.006694/0.006694, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001254/0.001254, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.792/1.792, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.00136/0.001361, allocations: 49.48 kB / 326.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 46.64 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007624/0.1375, allocations: 5.942 MB / 379.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003974/0.1415, allocations: 1.683 MB / 380.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.1427, allocations: 39.81 kB / 380.8 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000845/0.1436, allocations: 305.5 kB / 381.1 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.1453, allocations: 369.5 kB / 381.5 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00086/0.1462, allocations: 355.5 kB / 381.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.1485, allocations: 2.02 MB / 383.9 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.1513, allocations: 2.707 MB / 386.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.1526, allocations: 1.032 MB / 387.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.154, allocations: 1.202 MB / 388.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003405/0.1544, allocations: 312 kB / 389.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007601/0.1551, allocations: 483.6 kB / 389.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005995/0.1557, allocations: 0.7209 MB / 390.3 MB, free: 48 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.157, allocations: 1.26 MB / 391.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.1608, allocations: 3.797 MB / 395.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1608, allocations: 0 / 395.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1608, allocations: 0 / 395.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8e-05/0.1609, allocations: 0 / 395.4 MB, free: 10.97 MB / 334.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.005099/0.166, allocations: 2.45 MB / 397.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1661, allocations: 12.03 kB / 397.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006134/0.1667, allocations: 238.2 kB / 398.1 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.1685, allocations: 1.181 MB / 399.2 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.1687, allocations: 164.9 kB / 399.4 MB, free: 6.824 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.169, allocations: 224.1 kB / 399.6 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006082/0.1751, allocations: 2.545 MB / 402.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.743e-05/0.1751, allocations: 0 / 402.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.1754, allocations: 92 kB / 402.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.1755, allocations: 59.98 kB / 402.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004328/0.1798, allocations: 2.134 MB / 404.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.1954, allocations: 7.479 MB / 411.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.1974, allocations: 1.255 MB / 413.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.1988, allocations: 0.6296 MB / 413.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.548e-05/0.1988, allocations: 8.562 kB / 413.8 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.1989, allocations: 35.12 kB / 413.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 3.647e-06/0.1989, allocations: 3.938 kB / 413.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.005604/0.2045, allocations: 2.439 MB / 416.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.2046, allocations: 59.97 kB / 416.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.2062, allocations: 0.7972 MB / 417.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.2063, allocations: 37.7 kB / 417.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/0.2072, allocations: 0.9098 MB / 418.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.2075, allocations: 228.7 kB / 418.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.2078, allocations: 142.6 kB / 418.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00027/0.2081, allocations: 394.7 kB / 418.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/0.2087, allocations: 369.8 kB / 419.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009207/0.2096, allocations: 0.5828 MB / 419.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.2112, allocations: 0.9854 MB / 420.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.2112, allocations: 4 kB / 420.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002261/0.2135, allocations: 1.151 MB / 421.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.2136, allocations: 16.97 kB / 422 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.2136, allocations: 8 kB / 422 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000361/0.214, allocations: 113.1 kB / 422.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/0.2147, allocations: 167.8 kB / 422.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.2174, allocations: 2.337 MB / 424.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000569/0.218, allocations: 44.03 kB / 424.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.2181, allocations: 28 kB / 424.6 MB, free: 12.68 MB / 366.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.001263/0.2193, allocations: 0.6457 MB / 425.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.2195, allocations: 86.94 kB / 425.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.2198, allocations: 99.55 kB / 425.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/0.2199, allocations: 15.98 kB / 425.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.2199, allocations: 4 kB / 425.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.2199, allocations: 7.984 kB / 425.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/0.2246, allocations: 2.651 MB / 428.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2246, allocations: 0 / 428.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.225, allocations: 112 kB / 428.3 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.2253, allocations: 100.8 kB / 428.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/0.2254, allocations: 20.17 kB / 428.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.2275, allocations: 2.271 MB / 430.6 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2275, allocations: 0 / 430.6 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.2297, allocations: 1.42 MB / 432.1 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.2301, allocations: 224.1 kB / 432.3 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.938e-05/0.2302, allocations: 16 kB / 432.3 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.2306, allocations: 43.89 kB / 432.3 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.2308, allocations: 48.56 kB / 432.4 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.543e-05/0.2308, allocations: 23.98 kB / 432.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007454/0.2316, allocations: 0.5536 MB / 433 MB, free: 4.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2316, allocations: 0 / 433 MB, free: 4.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001148/0.2327, allocations: 304 kB / 433.3 MB, free: 3.77 MB / 366.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.0002809/0.233, allocations: 135 kB / 433.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.2348, allocations: 1.019 MB / 434.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2348, allocations: 4.125 kB / 434.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.2357, allocations: 0.56 MB / 435 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.2367, allocations: 223.1 kB / 435.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.242, allocations: 3.195 MB / 438.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.2435, allocations: 1.724 MB / 440.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005683/0.244, allocations: 195.2 kB / 440.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.2442, allocations: 63.42 kB / 440.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2442, allocations: 0 / 440.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Templates: time 0.02447/0.2687, allocations: 12.47 MB / 452.8 MB, free: 56 kB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1)