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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") [: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.2+maint.om/package.mo): time 0.001943/0.001943, allocations: 197.8 kB / 8.141 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.167/1.167, allocations: 194.2 MB / 202.8 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001763/0.001763, allocations: 122.6 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.24e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06889/0.06891, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.2585, allocations: 77.14 MB / 419.2 MB, free: 17.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.2587, allocations: 72.2 kB / 419.3 MB, free: 17.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04585/0.3046, allocations: 20.68 MB / 439.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.755e-05/0.3047, allocations: 35.94 kB / 440 MB, free: 0.957 MB / 314.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.002174/0.3069, allocations: 1.437 MB / 441.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3069, allocations: 8.031 kB / 441.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005523/0.3075, allocations: 174.1 kB / 441.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.309, allocations: 0.9398 MB / 442.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/0.3091, allocations: 44 kB / 442.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.3093, allocations: 83.91 kB / 442.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001959/0.3113, allocations: 1.27 MB / 443.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.3137, allocations: 1.614 MB / 445.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.3137, allocations: 0 / 445.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.3138, allocations: 4 kB / 445.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.3139, allocations: 32 kB / 445.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006921/0.3208, allocations: 4.759 MB / 450.3 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.3214, allocations: 467.6 kB / 450.8 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.3221, allocations: 0.497 MB / 451.3 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.3221, allocations: 7.781 kB / 451.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.578e-05/0.3222, allocations: 44.56 kB / 451.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 8.246e-06/0.3222, allocations: 0 / 451.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.002341/0.3246, allocations: 1.493 MB / 452.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3246, allocations: 59.34 kB / 452.9 MB, free: 6.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/0.3253, allocations: 0.5701 MB / 453.5 MB, free: 6.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.3254, allocations: 33.64 kB / 453.5 MB, free: 6.207 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.3257, allocations: 0.5389 MB / 454 MB, free: 5.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.3258, allocations: 152.8 kB / 454.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.3258, allocations: 0 / 454.2 MB, free: 5.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.326, allocations: 371.7 kB / 454.5 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.3263, allocations: 257.9 kB / 454.8 MB, free: 5.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.3268, allocations: 388.9 kB / 455.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.3272, allocations: 327.8 kB / 455.5 MB, free: 4.512 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3272, allocations: 4 kB / 455.5 MB, free: 4.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001102/0.3283, allocations: 0.787 MB / 456.3 MB, free: 3.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3284, allocations: 4 kB / 456.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3284, allocations: 4 kB / 456.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.3286, allocations: 85.55 kB / 456.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.3291, allocations: 122.6 kB / 456.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.3309, allocations: 1.825 MB / 458.3 MB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.3313, allocations: 19.98 kB / 458.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.3313, allocations: 19.25 kB / 458.4 MB, free: 1.961 MB / 330.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.0001249/0.3314, allocations: 124.1 kB / 458.5 MB, free: 1.836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3315, allocations: 59.25 kB / 458.5 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.3317, allocations: 68.73 kB / 458.6 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3317, allocations: 4 kB / 458.6 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3317, allocations: 4 kB / 458.6 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3317, allocations: 3.984 kB / 458.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/0.3344, allocations: 1.744 MB / 460.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3344, allocations: 0 / 460.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.3348, allocations: 79.89 kB / 460.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.335, allocations: 80.78 kB / 460.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.3351, allocations: 7.906 kB / 460.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.3367, allocations: 1.798 MB / 462.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.3367, allocations: 0 / 462.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001321/0.338, allocations: 1.109 MB / 463.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.3383, allocations: 196.4 kB / 463.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.3384, allocations: 4 kB / 463.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.3388, allocations: 27.97 kB / 463.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.3389, allocations: 35.86 kB / 463.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.3389, allocations: 16 kB / 463.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0005203/0.3395, allocations: 442.8 kB / 464.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007016/0.3402, allocations: 184 kB / 464.3 MB, free: 11.79 MB / 346.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.0001501/0.3403, allocations: 108.5 kB / 464.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009689/0.3413, allocations: 0.6905 MB / 465.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3413, allocations: 3.938 kB / 465.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005826/0.3419, allocations: 413.4 kB / 465.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.3426, allocations: 136.4 kB / 465.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.3458, allocations: 1.8 MB / 467.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/0.3471, allocations: 1.491 MB / 468.9 MB, free: 7.059 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3471, allocations: 0 / 468.9 MB, free: 7.059 MB / 346.7 MB Notification: Performance of Templates: time 0.01489/0.362, allocations: 7.91 MB / 476.9 MB, free: 15.19 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (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)