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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003468/0.003468, allocations: 184 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.366/1.366, allocations: 170.6 MB / 178.4 MB, free: 15.46 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001827/0.001827, allocations: 115.8 kB / 217.7 MB, free: 8.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.586e-06, allocations: 4 kB / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08664, allocations: 38.76 MB / 300.5 MB, free: 3.91 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.4022, allocations: 71.8 MB / 372.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.4025, allocations: 73.45 kB / 372.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.05439/0.4569, allocations: 20.99 MB / 393.4 MB, free: 11.35 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001311/0.4571, allocations: 39.92 kB / 393.4 MB, free: 11.31 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.0041/0.4612, allocations: 1.434 MB / 394.8 MB, free: 9.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4612, allocations: 8.031 kB / 394.8 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009229/0.4622, allocations: 178.1 kB / 395 MB, free: 9.734 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.4644, allocations: 0.9379 MB / 396 MB, free: 8.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.4645, allocations: 44 kB / 396 MB, free: 8.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/0.4648, allocations: 83.91 kB / 396.1 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00246/0.4673, allocations: 1.269 MB / 397.4 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.4702, allocations: 1.614 MB / 399 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.4703, allocations: 0 / 399 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.4704, allocations: 0 / 399 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.4705, allocations: 40 kB / 399 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009147/0.4796, allocations: 4.762 MB / 403.8 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.4803, allocations: 460.2 kB / 404.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008893/0.4812, allocations: 0.5087 MB / 404.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.4813, allocations: 7.984 kB / 404.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4813, allocations: 42.56 kB / 404.8 MB, free: 2.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 2.655e-06/0.4813, allocations: 4 kB / 404.8 MB, free: 2.336 MB / 282.7 MB Notification: Performance of matching and sorting (n=44): time 0.002961/0.4843, allocations: 1.506 MB / 406.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.4844, allocations: 59.34 kB / 406.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009091/0.4853, allocations: 0.5646 MB / 406.9 MB, free: 128 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.4853, allocations: 25.7 kB / 406.9 MB, free: 96 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.4857, allocations: 0.5444 MB / 407.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4858, allocations: 145.8 kB / 407.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.4859, allocations: 0 / 407.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.4861, allocations: 374.8 kB / 408 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.4864, allocations: 261.1 kB / 408.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.4869, allocations: 385 kB / 408.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.4874, allocations: 336.5 kB / 408.9 MB, free: 14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4874, allocations: 7.938 kB / 409 MB, free: 13.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001184/0.4886, allocations: 0.7803 MB / 409.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4886, allocations: 4 kB / 409.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.4886, allocations: 7.984 kB / 409.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002779/0.4889, allocations: 76.81 kB / 409.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.4895, allocations: 127.9 kB / 409.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.4917, allocations: 1.833 MB / 411.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.4922, allocations: 20.05 kB / 411.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.254e-05/0.4922, allocations: 23.98 kB / 411.8 MB, free: 10.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * 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.000152/0.4924, allocations: 116.8 kB / 411.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.4925, allocations: 59.25 kB / 412 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.4928, allocations: 73.78 kB / 412.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4928, allocations: 8 kB / 412.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.4928, allocations: 0 / 412.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.4928, allocations: 0 / 412.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004038/0.4968, allocations: 1.738 MB / 413.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4969, allocations: 0 / 413.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.4973, allocations: 79.89 kB / 413.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/0.4975, allocations: 80.95 kB / 414 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.4976, allocations: 7.984 kB / 414 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.4996, allocations: 1.794 MB / 415.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.4997, allocations: 7.906 kB / 415.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001521/0.5012, allocations: 1.106 MB / 416.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/0.5016, allocations: 196.3 kB / 417.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.5017, allocations: 4 kB / 417.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.5021, allocations: 32.03 kB / 417.1 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/0.5022, allocations: 27.95 kB / 417.1 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.5023, allocations: 16 kB / 417.2 MB, free: 5.371 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0006001/0.5029, allocations: 454.8 kB / 417.6 MB, free: 4.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008881/0.5038, allocations: 184 kB / 417.8 MB, free: 4.75 MB / 298.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * 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.0001887/0.504, allocations: 107.4 kB / 417.9 MB, free: 4.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.505, allocations: 0.6942 MB / 418.6 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.505, allocations: 0 / 418.6 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005834/0.5056, allocations: 414.4 kB / 419 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.5064, allocations: 142.1 kB / 419.1 MB, free: 3.375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.5105, allocations: 1.812 MB / 420.9 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/0.5121, allocations: 1.498 MB / 422.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5121, allocations: 0 / 422.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of Templates: time 0.01856/0.5307, allocations: 7.878 MB / 430.3 MB, free: 8.102 MB / 314.7 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)