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.008377/0.008377, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001622/0.001622, allocations: 190.9 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.665/1.665, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.001428/0.001428, allocations: 49.45 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1637, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.00951/0.1733, allocations: 5.942 MB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004468/0.1778, allocations: 1.694 MB / 380.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007034/0.1785, allocations: 39.81 kB / 380.9 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007158/0.1793, allocations: 301.5 kB / 381.1 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.1805, allocations: 357.5 kB / 381.5 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007494/0.1813, allocations: 367.5 kB / 381.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.1834, allocations: 2.02 MB / 383.9 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002859/0.1863, allocations: 2.703 MB / 386.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.1875, allocations: 1.032 MB / 387.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.1889, allocations: 1.202 MB / 388.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003581/0.1892, allocations: 312 kB / 389.1 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007809/0.19, allocations: 475.6 kB / 389.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006065/0.1906, allocations: 0.7248 MB / 390.3 MB, free: 56 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.1918, allocations: 1.26 MB / 391.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.1952, allocations: 3.807 MB / 395.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1952, allocations: 0 / 395.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1952, allocations: 0 / 395.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.464e-05/0.1952, allocations: 4 kB / 395.4 MB, free: 10.96 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.004459/0.1997, allocations: 2.506 MB / 397.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1998, allocations: 12.03 kB / 397.9 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006722/0.2004, allocations: 255.4 kB / 398.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.2024, allocations: 1.182 MB / 399.3 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.2025, allocations: 164.9 kB / 399.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/0.2028, allocations: 228.1 kB / 399.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004285/0.2071, allocations: 2.538 MB / 402.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.2071, allocations: 0 / 402.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.2073, allocations: 92 kB / 402.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.357e-05/0.2074, allocations: 56 kB / 402.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003519/0.2109, allocations: 2.145 MB / 404.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/0.2238, allocations: 7.501 MB / 412 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.2256, allocations: 1.252 MB / 413.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.2268, allocations: 0.6335 MB / 413.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.956e-05/0.2269, allocations: 8.562 kB / 413.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.227, allocations: 35.12 kB / 414 MB, free: 7.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 3.567e-06/0.227, allocations: 8 kB / 414 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.005251/0.2322, allocations: 2.466 MB / 416.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.2323, allocations: 59.91 kB / 416.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.2334, allocations: 0.7972 MB / 417.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.2335, allocations: 37.7 kB / 417.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006709/0.2342, allocations: 0.9363 MB / 418.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.2344, allocations: 245.9 kB / 418.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.2347, allocations: 146.6 kB / 418.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002476/0.2349, allocations: 390.8 kB / 419 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/0.2355, allocations: 361.8 kB / 419.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008905/0.2364, allocations: 0.5867 MB / 420 MB, free: 1.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.2378, allocations: 0.9816 MB / 421 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.2379, allocations: 4 kB / 421 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002065/0.2399, allocations: 1.163 MB / 422.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.24, allocations: 11.94 kB / 422.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.24, allocations: 8 kB / 422.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/0.2403, allocations: 108.8 kB / 422.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/0.2411, allocations: 171.8 kB / 422.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/0.2436, allocations: 2.333 MB / 424.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000594/0.2443, allocations: 39.97 kB / 424.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.2443, allocations: 31.98 kB / 424.8 MB, free: 12.51 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.00152/0.2459, allocations: 0.6497 MB / 425.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.2461, allocations: 95.2 kB / 425.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.2464, allocations: 107.5 kB / 425.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.2464, allocations: 8 kB / 425.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.2464, allocations: 0 / 425.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.525e-06/0.2464, allocations: 3.984 kB / 425.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004555/0.251, allocations: 2.663 MB / 428.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.251, allocations: 0 / 428.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.2515, allocations: 107.9 kB / 428.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.2517, allocations: 100.9 kB / 428.5 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.2518, allocations: 24.14 kB / 428.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.2538, allocations: 2.271 MB / 430.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2538, allocations: 4.031 kB / 430.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.2558, allocations: 1.417 MB / 432.3 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.2561, allocations: 232.6 kB / 432.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.2562, allocations: 12 kB / 432.5 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.2567, allocations: 43.89 kB / 432.5 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.2568, allocations: 56.42 kB / 432.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.2568, allocations: 16 kB / 432.6 MB, free: 4.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006888/0.2575, allocations: 0.5536 MB / 433.2 MB, free: 3.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2575, allocations: 4 kB / 433.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001126/0.2587, allocations: 303.9 kB / 433.5 MB, free: 3.578 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.0002674/0.2589, allocations: 135.1 kB / 433.6 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.2605, allocations: 1.009 MB / 434.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2605, allocations: 1.688 kB / 434.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008605/0.2614, allocations: 0.5681 MB / 435.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.2627, allocations: 218.8 kB / 435.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/0.269, allocations: 3.257 MB / 438.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.2705, allocations: 1.72 MB / 440.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005463/0.2711, allocations: 203.1 kB / 440.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.2713, allocations: 59.44 kB / 440.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2713, allocations: 0 / 440.6 MB, free: 12.3 MB / 382.1 MB Notification: Performance of Templates: time 0.2799/0.5512, allocations: 12.47 MB / 453.1 MB, free: 70.04 MB / 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)