Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.933/2.933, allocations: 287.3 MB / 302.3 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 177.1 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 97.2 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004779, allocations: 11.22 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2824, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004544/0.287, allocations: 3.036 MB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003285/0.2903, allocations: 1.619 MB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.2906, allocations: 0 / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.2908, allocations: 39.75 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005787/0.2914, allocations: 131.6 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008164/0.2922, allocations: 191.4 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.2927, allocations: 227.5 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009717/0.2937, allocations: 383.4 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.294, allocations: 111.6 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.2943, allocations: 135.5 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.2943, allocations: 20 kB / 0.9839 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.2948, allocations: 131.8 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2949, allocations: 79.78 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.535e-05/0.295, allocations: 65.58 kB / 0.9842 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.2956, allocations: 351.3 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2956, allocations: 0 / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2956, allocations: 0 / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2956, allocations: 0 / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001499/0.2972, allocations: 0.6039 MB / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.2972, allocations: 12.02 kB / 0.9851 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.2983, allocations: 107.5 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.2988, allocations: 274.3 kB / 0.9855 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.2989, allocations: 16.44 kB / 0.9855 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.299, allocations: 23.98 kB / 0.9855 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.3001, allocations: 422.6 kB / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3002, allocations: 0 / 0.9859 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.3002, allocations: 15.97 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.163e-05/0.3003, allocations: 28.3 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.3017, allocations: 416.7 kB / 0.9864 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.3042, allocations: 1.607 MB / 0.9879 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.3061, allocations: 0.4894 MB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.3063, allocations: 93.11 kB / 0.9885 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008044/0.3071, allocations: 278.5 kB / 0.9888 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.876e-06/0.3071, allocations: 0 / 0.9888 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.002911/0.31, allocations: 0.7771 MB / 0.9895 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3101, allocations: 85.09 kB / 0.9896 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.3104, allocations: 224.9 kB / 0.9898 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.3105, allocations: 33.7 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3106, allocations: 160.4 kB / 0.99 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.529e-05/0.3107, allocations: 98.66 kB / 0.9901 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.3107, allocations: 4 kB / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.3108, allocations: 342.7 kB / 0.9904 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006962/0.3115, allocations: 180.2 kB / 0.9906 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000692/0.3123, allocations: 261.3 kB / 0.9909 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.313, allocations: 234.3 kB / 0.9911 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.313, allocations: 4 kB / 0.9911 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001811/0.3148, allocations: 0.5602 MB / 0.9916 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.3151, allocations: 0.8982 MB / 0.9925 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3151, allocations: 4 kB / 0.9925 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.3155, allocations: 40.81 kB / 0.9926 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.3162, allocations: 95.86 kB / 0.9926 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.3179, allocations: 1.513 MB / 0.9941 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006228/0.3186, allocations: 55.8 kB / 0.9942 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.3187, allocations: 15.94 kB / 0.9942 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.3187, allocations: 4 kB / 0.9942 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001729/0.3204, allocations: 0.4944 MB / 0.9947 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3205, allocations: 0 / 0.9947 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.3207, allocations: 44.81 kB / 0.9947 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.3214, allocations: 92.03 kB / 0.9948 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.3228, allocations: 1.497 MB / 0.9963 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.3235, allocations: 47.81 kB / 0.9963 GB, free: 9.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.3235, allocations: 11.98 kB / 0.9963 GB, free: 8.996 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.3238, allocations: 245 kB / 0.9966 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.3239, allocations: 27.72 kB / 0.9966 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.3256, allocations: 489 kB / 0.9971 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3257, allocations: 4 kB / 0.9971 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3257, allocations: 7.938 kB / 0.9971 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3257, allocations: 7.938 kB / 0.9971 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009663/0.3267, allocations: 0.5622 MB / 0.9976 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3267, allocations: 0 / 0.9976 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/0.3275, allocations: 87.95 kB / 0.9977 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.3277, allocations: 33.11 kB / 0.9977 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.3278, allocations: 19.92 kB / 0.9978 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.329, allocations: 1.417 MB / 0.9991 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3291, allocations: 0 / 0.9991 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.3307, allocations: 0.5978 MB / 0.9997 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.3309, allocations: 140.6 kB / 0.9999 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.551e-05/0.331, allocations: 7.938 kB / 0.9999 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/0.3315, allocations: 43.95 kB / 0.9999 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.3317, allocations: 35.91 kB / 0.9999 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.3318, allocations: 19.92 kB / 1 GB, free: 4.996 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002005/0.332, allocations: 168.5 kB / 1 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.332, allocations: 0 / 1 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008203/0.3328, allocations: 128 kB / 1 GB, free: 4.703 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.333, allocations: 115.2 kB / 1 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002828/0.3359, allocations: 1.004 MB / 1.001 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.3359, allocations: 4 kB / 1.001 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/0.3369, allocations: 334.8 kB / 1.002 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.3374, allocations: 44.47 kB / 1.002 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3389, allocations: 0.7307 MB / 1.002 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3392, allocations: 0.7917 MB / 1.003 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005219/0.3398, allocations: 94.47 kB / 1.003 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.3399, allocations: 39.36 kB / 1.003 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.3399, allocations: 0 / 1.003 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of Templates: time 0.01205/0.352, allocations: 4.026 MB / 1.007 GB, free: 13.45 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)