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.008114/0.008114, allocations: 100.7 kB / 15.73 MB, free: 6.438 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.001826/0.001826, allocations: 194.9 kB / 16.68 MB, free: 6.355 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.846/1.846, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001351/0.001351, allocations: 54.3 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1706, allocations: 46.62 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.0106/0.1813, allocations: 5.953 MB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005491/0.1869, allocations: 1.687 MB / 380.8 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.1888, allocations: 39.81 kB / 380.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.1904, allocations: 313.5 kB / 381.2 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.1936, allocations: 373.5 kB / 381.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.1956, allocations: 355.5 kB / 381.9 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003854/0.1994, allocations: 2.024 MB / 383.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005622/0.2051, allocations: 2.699 MB / 386.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.2077, allocations: 1.04 MB / 387.6 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.2104, allocations: 1.198 MB / 388.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.2115, allocations: 308 kB / 389.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.2137, allocations: 479.6 kB / 389.6 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.2154, allocations: 0.7364 MB / 390.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002176/0.2176, allocations: 1.256 MB / 391.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005489/0.2231, allocations: 3.789 MB / 395.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.2231, allocations: 0 / 395.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.2231, allocations: 0 / 395.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001329/0.2233, allocations: 4 kB / 395.4 MB, free: 10.95 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.006425/0.2297, allocations: 2.454 MB / 397.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.85e-05/0.2298, allocations: 8.031 kB / 397.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007266/0.2306, allocations: 238.2 kB / 398.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.233, allocations: 1.181 MB / 399.3 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.2332, allocations: 168.9 kB / 399.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/0.2335, allocations: 220.1 kB / 399.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/0.2384, allocations: 2.545 MB / 402.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.2384, allocations: 0 / 402.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001984/0.2386, allocations: 96 kB / 402.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-05/0.2387, allocations: 59.98 kB / 402.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004367/0.2431, allocations: 2.134 MB / 404.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01729/0.2604, allocations: 7.471 MB / 411.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.2624, allocations: 1.255 MB / 413.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.2636, allocations: 0.6335 MB / 413.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.686e-05/0.2637, allocations: 8.562 kB / 413.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.2638, allocations: 43.06 kB / 413.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 6.272e-06/0.2638, allocations: 0 / 413.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.006557/0.2704, allocations: 2.435 MB / 416.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.515e-05/0.2705, allocations: 59.97 kB / 416.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.2719, allocations: 0.7933 MB / 417.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.272, allocations: 37.7 kB / 417.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008259/0.2729, allocations: 0.9137 MB / 418.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.2731, allocations: 228.7 kB / 418.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.2734, allocations: 146.6 kB / 418.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.2736, allocations: 390.7 kB / 418.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000743/0.2744, allocations: 369.8 kB / 419.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009105/0.2753, allocations: 0.5789 MB / 419.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.2769, allocations: 0.9932 MB / 420.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.277, allocations: 0 / 420.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002292/0.2793, allocations: 1.147 MB / 421.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.2793, allocations: 11.94 kB / 422 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.2793, allocations: 12.38 kB / 422 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.2797, allocations: 112.7 kB / 422.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.2805, allocations: 171.8 kB / 422.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/0.2833, allocations: 2.329 MB / 424.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/0.2839, allocations: 44.03 kB / 424.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.284, allocations: 39.98 kB / 424.7 MB, free: 12.66 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.001439/0.2855, allocations: 0.6457 MB / 425.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.2857, allocations: 82.94 kB / 425.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.2859, allocations: 103.5 kB / 425.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/0.286, allocations: 8 kB / 425.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.286, allocations: 4 kB / 425.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.286, allocations: 3.984 kB / 425.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/0.291, allocations: 2.651 MB / 428.2 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.291, allocations: 7.984 kB / 428.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.2915, allocations: 112 kB / 428.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.2917, allocations: 92.78 kB / 428.4 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.2918, allocations: 23.97 kB / 428.4 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.2944, allocations: 2.271 MB / 430.7 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2944, allocations: 4.062 kB / 430.7 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.2968, allocations: 1.416 MB / 432.1 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.2972, allocations: 224.1 kB / 432.3 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.2973, allocations: 12 kB / 432.3 MB, free: 4.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.2977, allocations: 52.02 kB / 432.4 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.2979, allocations: 48.5 kB / 432.4 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/0.298, allocations: 19.98 kB / 432.4 MB, free: 4.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008377/0.2988, allocations: 0.5576 MB / 433 MB, free: 4.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2988, allocations: 0 / 433 MB, free: 4.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001382/0.3002, allocations: 308 kB / 433.3 MB, free: 3.746 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.0004181/0.3006, allocations: 143 kB / 433.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.3028, allocations: 1.011 MB / 434.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.3028, allocations: 0 / 434.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.3039, allocations: 0.56 MB / 435 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.3051, allocations: 227.4 kB / 435.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00839/0.3135, allocations: 3.191 MB / 438.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/0.3159, allocations: 1.724 MB / 440.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000744/0.3166, allocations: 195.2 kB / 440.3 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002542/0.3169, allocations: 63.42 kB / 440.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3169, allocations: 0 / 440.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of Templates: time 0.03047/0.3474, allocations: 12.47 MB / 452.9 MB, free: 36 kB / 382.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)