Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008989/0.0008989, allocations: 171.8 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205 MB / 0.5766 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007756/0.0007756, allocations: 82.36 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003035/0.0003034, allocations: 8.969 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2102, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003457/0.2137, allocations: 3.262 MB / 0.8999 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.216, allocations: 1.808 MB / 0.9017 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.2161, allocations: 4 kB / 0.9017 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.2168, allocations: 227.2 kB / 0.9019 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.2172, allocations: 183.2 kB / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.2178, allocations: 227.5 kB / 0.9023 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.2181, allocations: 0.4908 MB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003499/0.2185, allocations: 209.8 kB / 0.903 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.2187, allocations: 131.4 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.2189, allocations: 167.4 kB / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.219, allocations: 12 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.2194, allocations: 307.4 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.2195, allocations: 91.7 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.2196, allocations: 123.3 kB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.2199, allocations: 351.1 kB / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2199, allocations: 3.938 kB / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2199, allocations: 0 / 0.9041 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2199, allocations: 0 / 0.9041 GB, free: 60.55 MB / 0.6042 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.0009589/0.2209, allocations: 0.5982 MB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2209, allocations: 12.03 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006328/0.2216, allocations: 96.45 kB / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.2219, allocations: 279.5 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2219, allocations: 12.81 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.222, allocations: 24.38 kB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.2226, allocations: 430.9 kB / 0.9055 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.2227, allocations: 7.906 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.2227, allocations: 7.938 kB / 0.9055 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/0.2227, allocations: 28.36 kB / 0.9056 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.2235, allocations: 420.7 kB / 0.906 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.2249, allocations: 1.619 MB / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.2259, allocations: 482 kB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.2263, allocations: 209.6 kB / 0.9082 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.2265, allocations: 89.09 kB / 0.9083 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005076/0.227, allocations: 282.5 kB / 0.9086 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.615e-06/0.227, allocations: 0 / 0.9086 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001662/0.2287, allocations: 0.7896 MB / 0.9093 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2287, allocations: 81.11 kB / 0.9094 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.2289, allocations: 229 kB / 0.9096 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2289, allocations: 33.7 kB / 0.9097 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.229, allocations: 164.3 kB / 0.9098 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.229, allocations: 90.66 kB / 0.9099 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.2291, allocations: 33.7 kB / 0.9099 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.2292, allocations: 334.8 kB / 0.9103 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.2296, allocations: 184.2 kB / 0.9104 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.2299, allocations: 253.3 kB / 0.9107 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007473/0.2307, allocations: 498.8 kB / 0.9111 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2307, allocations: 0 / 0.9111 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001023/0.2317, allocations: 0.5598 MB / 0.9117 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-05/0.2318, allocations: 178.6 kB / 0.9119 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2318, allocations: 3.984 kB / 0.9119 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.232, allocations: 40.77 kB / 0.9119 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.2324, allocations: 95.86 kB / 0.912 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.2334, allocations: 1.497 MB / 0.9135 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.2338, allocations: 55.84 kB / 0.9135 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.2338, allocations: 8 kB / 0.9135 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.641e-06/0.2338, allocations: 4 kB / 0.9135 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008956/0.2347, allocations: 0.4982 MB / 0.914 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2347, allocations: 4 kB / 0.914 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001119/0.2349, allocations: 40.83 kB / 0.9141 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.2352, allocations: 95.95 kB / 0.9141 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008683/0.2361, allocations: 1.489 MB / 0.9156 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.2364, allocations: 47.81 kB / 0.9156 GB, free: 47.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.2364, allocations: 15.98 kB / 0.9157 GB, free: 47.93 MB / 0.6042 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 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.2366, allocations: 237.6 kB / 0.9159 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.2367, allocations: 31.72 kB / 0.9159 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.2377, allocations: 498.5 kB / 0.9164 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2377, allocations: 4 kB / 0.9164 GB, free: 47.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.2377, allocations: 4 kB / 0.9164 GB, free: 47.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.2377, allocations: 3.984 kB / 0.9164 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.2383, allocations: 0.5623 MB / 0.917 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2383, allocations: 0 / 0.917 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.2387, allocations: 91.95 kB / 0.917 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.2388, allocations: 36.83 kB / 0.9171 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.2388, allocations: 11.98 kB / 0.9171 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008207/0.2397, allocations: 1.409 MB / 0.9185 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2397, allocations: 0 / 0.9185 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008693/0.2406, allocations: 0.577 MB / 0.919 GB, free: 44.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2407, allocations: 128.7 kB / 0.9191 GB, free: 44.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.2407, allocations: 11.98 kB / 0.9192 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.241, allocations: 39.95 kB / 0.9192 GB, free: 44.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.2412, allocations: 27.97 kB / 0.9192 GB, free: 44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.2412, allocations: 15.98 kB / 0.9192 GB, free: 43.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001299/0.2413, allocations: 168.5 kB / 0.9194 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.71e-07/0.2413, allocations: 0 / 0.9194 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005266/0.2419, allocations: 135.9 kB / 0.9195 GB, free: 43.69 MB / 0.6042 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001794/0.2421, allocations: 107.2 kB / 0.9196 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.2437, allocations: 1.021 MB / 0.9206 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2437, allocations: 0 / 0.9206 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.2442, allocations: 339.3 kB / 0.921 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.2447, allocations: 47.41 kB / 0.921 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.2457, allocations: 0.746 MB / 0.9217 GB, free: 41.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.2459, allocations: 0.7839 MB / 0.9225 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.246, allocations: 39.36 kB / 0.9225 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.246, allocations: 4 kB / 0.9225 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.005735/0.2517, allocations: 5.085 MB / 0.9275 GB, free: 35.41 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)