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.008609/0.008609, allocations: 97 kB / 15.73 MB, free: 5.949 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.001731/0.001731, allocations: 194.4 kB / 16.68 MB, free: 5.871 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.765/1.765, allocations: 205.1 MB / 222.6 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.00133/0.00133, allocations: 48.88 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1496, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.008366/0.158, allocations: 5.957 MB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00601/0.1641, allocations: 1.691 MB / 380.8 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.1654, allocations: 39.81 kB / 380.9 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009059/0.1664, allocations: 305.4 kB / 381.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.1684, allocations: 357.5 kB / 381.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.1694, allocations: 359.5 kB / 381.9 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002772/0.1722, allocations: 2.024 MB / 383.9 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003013/0.1753, allocations: 2.695 MB / 386.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.177, allocations: 1.028 MB / 387.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.1789, allocations: 1.206 MB / 388.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004346/0.1793, allocations: 312 kB / 389.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.1804, allocations: 483.6 kB / 389.6 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008477/0.1813, allocations: 0.7247 MB / 390.3 MB, free: 32 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.183, allocations: 1.253 MB / 391.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.188, allocations: 3.807 MB / 395.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.188, allocations: 0 / 395.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.188, allocations: 0 / 395.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.141e-05/0.1881, 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.005919/0.194, allocations: 2.506 MB / 397.9 MB, free: 8.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.044e-05/0.1941, allocations: 12.03 kB / 397.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/0.1949, allocations: 255.4 kB / 398.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.1969, allocations: 1.182 MB / 399.3 MB, free: 6.887 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.197, allocations: 164.9 kB / 399.5 MB, free: 6.723 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.1974, allocations: 232 kB / 399.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005017/0.2024, allocations: 2.538 MB / 402.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.2025, allocations: 0 / 402.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.2027, allocations: 92 kB / 402.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.793e-05/0.2028, allocations: 56 kB / 402.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003585/0.2064, allocations: 2.141 MB / 404.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.2182, allocations: 7.513 MB / 412.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.2196, allocations: 1.24 MB / 413.3 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.2206, allocations: 0.6374 MB / 413.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.2207, allocations: 8.562 kB / 413.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.2207, allocations: 39.12 kB / 414 MB, free: 7.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 3.496e-06/0.2208, allocations: 4 kB / 414 MB, free: 7.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004933/0.2257, allocations: 2.466 MB / 416.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.2258, allocations: 55.97 kB / 416.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.2269, allocations: 0.7972 MB / 417.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.227, allocations: 37.7 kB / 417.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009787/0.2279, allocations: 0.9402 MB / 418.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.2282, allocations: 242 kB / 418.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.2285, allocations: 142.6 kB / 418.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002688/0.2288, allocations: 394.8 kB / 419 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.2293, allocations: 361.8 kB / 419.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007517/0.2301, allocations: 0.5867 MB / 420 MB, free: 1.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.2314, allocations: 0.9854 MB / 421 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.2314, allocations: 4 kB / 421 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001914/0.2334, allocations: 1.155 MB / 422.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.2334, allocations: 11.94 kB / 422.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.2334, allocations: 8 kB / 422.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/0.2338, allocations: 120.6 kB / 422.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006886/0.2345, allocations: 175.8 kB / 422.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.237, allocations: 2.325 MB / 424.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/0.2376, allocations: 39.97 kB / 424.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.2377, allocations: 31.98 kB / 424.8 MB, free: 12.5 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.001714/0.2394, allocations: 0.6497 MB / 425.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.2397, allocations: 95.31 kB / 425.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.2399, allocations: 99.56 kB / 425.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/0.24, allocations: 11.98 kB / 425.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/0.24, allocations: 4 kB / 425.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.24, allocations: 0 / 425.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005695/0.2457, allocations: 2.659 MB / 428.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.2458, allocations: 0 / 428.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.2463, allocations: 111.9 kB / 428.4 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/0.2466, allocations: 100.8 kB / 428.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/0.2467, allocations: 24.14 kB / 428.6 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003075/0.2498, allocations: 2.267 MB / 430.8 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.2498, allocations: 4.031 kB / 430.8 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.2529, allocations: 1.421 MB / 432.3 MB, free: 4.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/0.2536, allocations: 228.6 kB / 432.5 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.2539, allocations: 19.98 kB / 432.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.2545, allocations: 43.89 kB / 432.5 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.2547, allocations: 52.48 kB / 432.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/0.2548, allocations: 16 kB / 432.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.256, allocations: 0.5575 MB / 433.2 MB, free: 3.859 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.256, allocations: 4 kB / 433.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00192/0.2579, allocations: 299.9 kB / 433.5 MB, free: 3.562 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.0004735/0.2584, allocations: 135 kB / 433.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.2609, allocations: 1.006 MB / 434.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.2609, allocations: 5.688 kB / 434.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.262, allocations: 0.5681 MB / 435.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.2635, allocations: 218.9 kB / 435.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008256/0.2717, allocations: 3.261 MB / 438.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00236/0.2741, allocations: 1.717 MB / 440.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007693/0.2749, allocations: 207.1 kB / 440.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.2752, allocations: 63.42 kB / 440.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of SimCode: time 1.774e-06/0.2753, allocations: 0 / 440.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of Templates: time 0.3629/0.6381, allocations: 12.46 MB / 453.1 MB, free: 70.12 MB / 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)