Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009535/0.0009536, allocations: 91.73 kB / 16.3 MB, free: 6.453 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.0008905/0.0008905, allocations: 185.4 kB / 17.2 MB, free: 6.34 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.716/1.716, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.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.0005154/0.0005157, allocations: 12 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1186, allocations: 47.59 MB / 327.7 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005677/0.1244, allocations: 4.868 MB / 332.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.1274, allocations: 1.614 MB / 334.2 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.1279, allocations: 39.81 kB / 334.2 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000469/0.1284, allocations: 250.5 kB / 334.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008515/0.1293, allocations: 291.1 kB / 334.7 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.1298, allocations: 227.7 kB / 335 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.1311, allocations: 1.276 MB / 336.2 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.1331, allocations: 1.848 MB / 338.1 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007943/0.1339, allocations: 0.6889 MB / 338.8 MB, free: 8.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009365/0.1348, allocations: 0.8011 MB / 339.6 MB, free: 8.133 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.135, allocations: 128 kB / 339.7 MB, free: 8.008 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.1355, allocations: 251.7 kB / 339.9 MB, free: 7.762 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000405/0.1359, allocations: 494.5 kB / 340.4 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.1363, allocations: 432.6 kB / 340.9 MB, free: 6.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.1388, allocations: 3.043 MB / 343.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1388, allocations: 0 / 343.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.157e-06/0.1388, allocations: 0 / 343.9 MB, free: 3.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.87e-05/0.1389, allocations: 3.938 kB / 343.9 MB, free: 3.793 MB / 286.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.004192/0.1431, allocations: 2.084 MB / 346 MB, free: 1.648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1431, allocations: 15.97 kB / 346 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006573/0.1438, allocations: 245.2 kB / 346.2 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.1458, allocations: 1.153 MB / 347.4 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.1459, allocations: 168.5 kB / 347.6 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.1462, allocations: 216 kB / 347.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/0.1507, allocations: 2.506 MB / 350.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/0.1507, allocations: 0 / 350.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.1509, allocations: 104 kB / 350.4 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.42e-05/0.151, allocations: 56 kB / 350.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003644/0.1547, allocations: 2.13 MB / 352.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.1665, allocations: 7.639 MB / 360.2 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.1678, allocations: 1.253 MB / 361.5 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.1678, allocations: 16.55 kB / 361.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1679, allocations: 43.12 kB / 361.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of pre-optimization done (n=63): time 4.278e-06/0.1679, allocations: 0 / 361.5 MB, free: 1.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=64): time 0.004194/0.1721, allocations: 2.595 MB / 364.1 MB, free: 14.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1722, allocations: 55.97 kB / 364.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009393/0.1731, allocations: 0.7971 MB / 365 MB, free: 14.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.1732, allocations: 37.7 kB / 365 MB, free: 14.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005464/0.1737, allocations: 0.9098 MB / 365.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.1739, allocations: 220.8 kB / 366.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1739, allocations: 16 kB / 366.1 MB, free: 12.87 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1741, allocations: 394.8 kB / 366.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/0.1747, allocations: 373.7 kB / 366.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.1754, allocations: 0.5829 MB / 367.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.1761, allocations: 465.9 kB / 367.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.1761, allocations: 4 kB / 367.9 MB, free: 10.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001691/0.1778, allocations: 1.143 MB / 369.1 MB, free: 9.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.1778, allocations: 8.531 kB / 369.1 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1778, allocations: 12 kB / 369.1 MB, free: 9.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.1781, allocations: 80.81 kB / 369.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006822/0.1788, allocations: 179.7 kB / 369.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.1806, allocations: 1.955 MB / 371.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.1811, allocations: 47.92 kB / 371.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.1812, allocations: 32.06 kB / 371.4 MB, free: 7.371 MB / 318.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 (91): * Single equations (assignments): 88 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001208/0.1824, allocations: 0.6457 MB / 372 MB, free: 6.715 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.1826, allocations: 79.06 kB / 372.1 MB, free: 6.637 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.1828, allocations: 99.56 kB / 372.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.1828, allocations: 11.98 kB / 372.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.1828, allocations: 0 / 372.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1828, allocations: 0 / 372.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004199/0.1871, allocations: 2.636 MB / 374.8 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1871, allocations: 12 kB / 374.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.1876, allocations: 111.9 kB / 375 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001933/0.1878, allocations: 76.78 kB / 375 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.1878, allocations: 12 kB / 375.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.1895, allocations: 1.916 MB / 377 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1895, allocations: 3.938 kB / 377 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.1914, allocations: 1.422 MB / 378.4 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2458/0.4372, allocations: 222.3 kB / 378.6 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4374, allocations: 16.02 kB / 378.6 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.4379, allocations: 47.34 kB / 378.7 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.4381, allocations: 44.11 kB / 378.7 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.4382, allocations: 17.89 kB / 378.7 MB, free: 50.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.4392, allocations: 0.5499 MB / 379.3 MB, free: 50.26 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4392, allocations: 3.438 kB / 379.3 MB, free: 50.26 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001327/0.4405, allocations: 298.4 kB / 379.6 MB, free: 50.26 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (56): * Single equations (assignments): 53 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002955/0.4408, allocations: 136.1 kB / 379.7 MB, free: 50.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.4431, allocations: 0.9912 MB / 380.7 MB, free: 50.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4432, allocations: 0 / 380.7 MB, free: 50.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000898/0.4441, allocations: 0.5441 MB / 381.3 MB, free: 49.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009747/0.4451, allocations: 205.6 kB / 381.5 MB, free: 49.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/0.4519, allocations: 3.968 MB / 385.4 MB, free: 47.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/0.4538, allocations: 1.756 MB / 387.2 MB, free: 46.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009064/0.4547, allocations: 206.1 kB / 387.4 MB, free: 46.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.4549, allocations: 65.94 kB / 387.4 MB, free: 46.82 MB / 318.1 MB Notification: Performance of SimCode: time 1.252e-06/0.455, allocations: 0.8125 kB / 387.4 MB, free: 46.82 MB / 318.1 MB Notification: Performance of Templates: time 0.02605/0.481, allocations: 11.25 MB / 398.7 MB, free: 42.55 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) Environment - environmentSimulation: