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.01432/0.01432, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.002438/0.002438, allocations: 187 kB / 16.67 MB, free: 5.883 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.796/1.796, allocations: 205.1 MB / 222.5 MB, free: 4.359 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.001471/0.001471, allocations: 46.78 kB / 326.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1348, allocations: 46.63 MB / 373.2 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.008646/0.1435, allocations: 5.938 MB / 379.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004539/0.1481, allocations: 1.694 MB / 380.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.1494, allocations: 39.81 kB / 380.9 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.1504, allocations: 313.5 kB / 381.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.1522, allocations: 373.5 kB / 381.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1532, allocations: 363.5 kB / 381.9 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003166/0.1564, allocations: 2.013 MB / 383.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003576/0.16, allocations: 2.699 MB / 386.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.1617, allocations: 1.036 MB / 387.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.1636, allocations: 1.206 MB / 388.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004233/0.164, allocations: 308 kB / 389.1 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009167/0.165, allocations: 483.6 kB / 389.6 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007456/0.1657, allocations: 0.7248 MB / 390.3 MB, free: 112 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.1673, allocations: 1.26 MB / 391.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004937/0.1723, allocations: 3.789 MB / 395.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/0.1724, allocations: 0 / 395.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.1724, allocations: 0 / 395.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001679/0.1726, allocations: 0 / 395.4 MB, free: 11.04 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.006675/0.1792, allocations: 2.458 MB / 397.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.1793, allocations: 12.03 kB / 397.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000694/0.18, allocations: 234.2 kB / 398.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.1821, allocations: 1.185 MB / 399.3 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/0.1822, allocations: 168.9 kB / 399.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.1826, allocations: 220.1 kB / 399.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004726/0.1873, allocations: 2.542 MB / 402.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/0.1874, allocations: 0 / 402.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/0.1876, allocations: 95.92 kB / 402.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.759e-05/0.1877, allocations: 56 kB / 402.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00382/0.1915, allocations: 2.137 MB / 404.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/0.2039, allocations: 7.482 MB / 412 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.2055, allocations: 1.24 MB / 413.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.2067, allocations: 0.6335 MB / 413.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.158e-05/0.2067, allocations: 12.53 kB / 413.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/0.2068, allocations: 43.12 kB / 413.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 5.209e-06/0.2068, allocations: 4 kB / 413.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004613/0.2114, allocations: 2.435 MB / 416.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.2115, allocations: 55.97 kB / 416.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.2127, allocations: 0.7933 MB / 417.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.2127, allocations: 37.69 kB / 417.2 MB, free: 4.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006813/0.2134, allocations: 0.9215 MB / 418.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.2136, allocations: 228.7 kB / 418.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.2139, allocations: 142.6 kB / 418.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.2141, allocations: 398.7 kB / 418.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.2147, allocations: 361.8 kB / 419.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008186/0.2155, allocations: 0.5867 MB / 419.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.2168, allocations: 0.9893 MB / 420.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2168, allocations: 0 / 420.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001853/0.2187, allocations: 1.151 MB / 422 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.2187, allocations: 13.03 kB / 422 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.2188, allocations: 4 kB / 422 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.2192, allocations: 112.8 kB / 422.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.2199, allocations: 175.8 kB / 422.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.2223, allocations: 2.329 MB / 424.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006152/0.223, allocations: 35.97 kB / 424.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.2231, allocations: 39.98 kB / 424.7 MB, free: 12.75 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.001349/0.2244, allocations: 0.6496 MB / 425.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.2247, allocations: 91 kB / 425.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.2249, allocations: 95.56 kB / 425.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.2249, allocations: 8 kB / 425.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.2249, allocations: 4 kB / 425.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.225, allocations: 3.984 kB / 425.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.2298, allocations: 2.655 MB / 428.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2298, allocations: 0 / 428.2 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.2303, allocations: 111.8 kB / 428.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.2306, allocations: 100.9 kB / 428.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.716e-05/0.2307, allocations: 16.14 kB / 428.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/0.2333, allocations: 2.278 MB / 430.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.2333, allocations: 4.031 kB / 430.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.2359, allocations: 1.416 MB / 432.1 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006286/0.2365, allocations: 224.2 kB / 432.3 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/0.2368, allocations: 19.98 kB / 432.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/0.2375, allocations: 43.89 kB / 432.4 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.2377, allocations: 44.5 kB / 432.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.2377, allocations: 20 kB / 432.4 MB, free: 4.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.2389, allocations: 0.5536 MB / 433 MB, free: 4.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2389, allocations: 4 kB / 433 MB, free: 4.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001595/0.2405, allocations: 304 kB / 433.3 MB, free: 3.832 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.0004055/0.2409, allocations: 139 kB / 433.4 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.243, allocations: 1.009 MB / 434.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.243, allocations: 0 / 434.4 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009241/0.2439, allocations: 0.5737 MB / 435 MB, free: 2.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.2452, allocations: 222.8 kB / 435.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/0.2525, allocations: 3.198 MB / 438.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/0.2548, allocations: 1.72 MB / 440.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007803/0.2556, allocations: 203.1 kB / 440.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.2559, allocations: 59.42 kB / 440.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.723e-06/0.2559, allocations: 0 / 440.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of Templates: time 0.02833/0.2842, allocations: 12.46 MB / 452.9 MB, free: 124 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)