Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001423/0.001423, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00192/0.00192, allocations: 271 kB / 291.3 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9952/0.9952, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006846/0.000685, allocations: 13.67 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2153, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004053/0.2194, allocations: 3.089 MB / 0.6875 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.2219, allocations: 1.612 MB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.222, allocations: 5.156 kB / 0.6891 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.2222, allocations: 31.72 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.2226, allocations: 156.6 kB / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.2231, allocations: 177.5 kB / 0.6894 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004582/0.2236, allocations: 423.2 kB / 0.6898 GB, free: 9.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007523/0.2244, allocations: 390.8 kB / 0.6902 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.2246, allocations: 125.8 kB / 0.6903 GB, free: 9.457 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.2249, allocations: 171.3 kB / 0.6905 GB, free: 9.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.2249, allocations: 16 kB / 0.6905 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.2252, allocations: 135.8 kB / 0.6906 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.934e-05/0.2253, allocations: 83.77 kB / 0.6907 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.2254, allocations: 73.52 kB / 0.6908 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.2257, allocations: 343.9 kB / 0.6911 GB, free: 8.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2257, allocations: 4 kB / 0.6911 GB, free: 8.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2257, allocations: 0.875 kB / 0.6911 GB, free: 8.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.2258, allocations: 0 / 0.6911 GB, free: 8.641 MB / 494.1 MB 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.001064/0.2268, allocations: 0.6011 MB / 0.6917 GB, free: 7.988 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2269, allocations: 8.031 kB / 0.6917 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006597/0.2275, allocations: 99.52 kB / 0.6918 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.2279, allocations: 274.5 kB / 0.6921 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.2279, allocations: 12.44 kB / 0.6921 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.228, allocations: 27.98 kB / 0.6921 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.2288, allocations: 422.6 kB / 0.6925 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.2288, allocations: 3.938 kB / 0.6925 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.2288, allocations: 16 kB / 0.6925 GB, free: 7.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/0.2289, allocations: 28.36 kB / 0.6926 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008406/0.2297, allocations: 408.8 kB / 0.6929 GB, free: 6.648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.2315, allocations: 1.623 MB / 0.6945 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.2326, allocations: 478.1 kB / 0.695 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.233, allocations: 213.5 kB / 0.6952 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.2332, allocations: 97.03 kB / 0.6953 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005239/0.2337, allocations: 272.2 kB / 0.6955 GB, free: 3.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 2.094e-06/0.2337, allocations: 0 / 0.6955 GB, free: 3.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001779/0.2355, allocations: 0.7733 MB / 0.6963 GB, free: 3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.2355, allocations: 85.09 kB / 0.6964 GB, free: 2.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.2358, allocations: 221 kB / 0.6966 GB, free: 2.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.2358, allocations: 33.7 kB / 0.6966 GB, free: 2.633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2359, allocations: 176.2 kB / 0.6968 GB, free: 2.453 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/0.236, allocations: 90.73 kB / 0.6969 GB, free: 2.363 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.236, allocations: 7.938 kB / 0.6969 GB, free: 2.355 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2362, allocations: 338.8 kB / 0.6972 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.2366, allocations: 184.2 kB / 0.6974 GB, free: 1.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.237, allocations: 262.2 kB / 0.6976 GB, free: 1.551 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.2374, allocations: 231.1 kB / 0.6979 GB, free: 1.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2375, allocations: 0 / 0.6979 GB, free: 1.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001088/0.2386, allocations: 0.5641 MB / 0.6984 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.2387, allocations: 179.5 kB / 0.6986 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2387, allocations: 4 kB / 0.6986 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.2389, allocations: 48.78 kB / 0.6986 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.2393, allocations: 87.86 kB / 0.6987 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.2406, allocations: 1.501 MB / 0.7002 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.241, allocations: 59.86 kB / 0.7002 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.241, allocations: 8 kB / 0.7002 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/0.241, allocations: 4 kB / 0.7002 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009942/0.242, allocations: 0.4985 MB / 0.7007 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.242, allocations: 4.031 kB / 0.7007 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.2422, allocations: 44.81 kB / 0.7008 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/0.2425, allocations: 87.88 kB / 0.7009 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.2437, allocations: 1.489 MB / 0.7023 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.2439, allocations: 51.8 kB / 0.7024 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.244, allocations: 16.06 kB / 0.7024 GB, free: 12.34 MB / 0.4981 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.0002277/0.2442, allocations: 236.5 kB / 0.7026 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.2443, allocations: 23.72 kB / 0.7026 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.2453, allocations: 499.9 kB / 0.7031 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.2453, allocations: 11.97 kB / 0.7031 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2453, allocations: 0 / 0.7031 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2453, allocations: 4 kB / 0.7031 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000637/0.246, allocations: 0.566 MB / 0.7037 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.246, allocations: 4.094 kB / 0.7037 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.2464, allocations: 79.86 kB / 0.7038 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.2465, allocations: 44.81 kB / 0.7038 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.2465, allocations: 4 kB / 0.7038 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.2476, allocations: 1.405 MB / 0.7052 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.2476, allocations: 4.031 kB / 0.7052 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009396/0.2486, allocations: 0.5615 MB / 0.7057 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.2487, allocations: 136.7 kB / 0.7059 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.2488, allocations: 8 kB / 0.7059 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.249, allocations: 43.95 kB / 0.7059 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.2491, allocations: 27.95 kB / 0.7059 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.2492, allocations: 15.95 kB / 0.7059 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001513/0.2493, allocations: 172.5 kB / 0.7061 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2493, allocations: 0 / 0.7061 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005698/0.2499, allocations: 128 kB / 0.7062 GB, free: 8.141 MB / 0.4981 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.0001945/0.2501, allocations: 123.1 kB / 0.7063 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.2519, allocations: 1.004 MB / 0.7073 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2519, allocations: 0 / 0.7073 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005739/0.2525, allocations: 338.9 kB / 0.7077 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.2529, allocations: 48.59 kB / 0.7077 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.2542, allocations: 0.7422 MB / 0.7084 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.2546, allocations: 0.7878 MB / 0.7092 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.255, allocations: 98.14 kB / 0.7093 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.963e-05/0.2551, allocations: 27.42 kB / 0.7093 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2551, allocations: 0 / 0.7093 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of Templates: time 0.008446/0.2635, allocations: 4.043 MB / 0.7133 GB, free: 0.8594 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)