Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.793/1.793, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.00119/0.00119, allocations: 175.9 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0008162/0.0008163, allocations: 90.38 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 15.94 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.002939/0.2154, allocations: 2.615 MB / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.2174, allocations: 1.653 MB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.2175, allocations: 4 kB / 0.9843 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.2177, allocations: 31.72 kB / 0.9843 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.2181, allocations: 179.2 kB / 0.9845 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.2186, allocations: 219.4 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.2189, allocations: 414.6 kB / 0.9851 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006119/0.2195, allocations: 406.9 kB / 0.9855 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.2197, allocations: 127.5 kB / 0.9856 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.2199, allocations: 175.4 kB / 0.9858 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.22, allocations: 12 kB / 0.9858 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.2203, allocations: 291.4 kB / 0.9861 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.783e-05/0.2204, allocations: 79.77 kB / 0.9862 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.2205, allocations: 145 kB / 0.9863 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.2208, allocations: 359 kB / 0.9866 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2208, allocations: 0 / 0.9866 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2208, allocations: 4 kB / 0.9866 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.2208, allocations: 0 / 0.9866 GB, free: 20.62 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.0008965/0.2217, allocations: 0.5981 MB / 0.9872 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.2218, allocations: 8.031 kB / 0.9872 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006882/0.2224, allocations: 100.5 kB / 0.9873 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.2227, allocations: 279.5 kB / 0.9876 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.2228, allocations: 20.78 kB / 0.9876 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.2228, allocations: 24.38 kB / 0.9876 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.2235, allocations: 430.8 kB / 0.9881 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2235, allocations: 7.938 kB / 0.9881 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.2235, allocations: 4 kB / 0.9881 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.2236, allocations: 28.36 kB / 0.9881 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.2243, allocations: 412.8 kB / 0.9885 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2257, allocations: 1.611 MB / 0.9901 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.2267, allocations: 486.8 kB / 0.9905 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.2271, allocations: 205.6 kB / 0.9907 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.2272, allocations: 97.02 kB / 0.9908 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.2277, allocations: 280.4 kB / 0.9911 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.2277, allocations: 8 kB / 0.9911 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001636/0.2294, allocations: 0.7773 MB / 0.9918 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.2294, allocations: 89.09 kB / 0.9919 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2296, allocations: 220.9 kB / 0.9921 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.2296, allocations: 29.7 kB / 0.9922 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.2297, allocations: 172.3 kB / 0.9923 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.2297, allocations: 94.64 kB / 0.9924 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.2297, allocations: 8 kB / 0.9924 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.2298, allocations: 338.8 kB / 0.9928 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.2302, allocations: 176.2 kB / 0.9929 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.2306, allocations: 253.3 kB / 0.9932 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007407/0.2313, allocations: 494.8 kB / 0.9936 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2313, allocations: 0 / 0.9936 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009727/0.2323, allocations: 0.5591 MB / 0.9942 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-05/0.2324, allocations: 188.4 kB / 0.9944 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2324, allocations: 0 / 0.9944 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.2326, allocations: 48.84 kB / 0.9944 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.233, allocations: 91.86 kB / 0.9945 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.2341, allocations: 1.489 MB / 0.9959 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.2344, allocations: 51.8 kB / 0.996 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.2345, allocations: 19.98 kB / 0.996 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.2345, allocations: 8.062 kB / 0.996 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009033/0.2354, allocations: 498.2 kB / 0.9965 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2354, allocations: 4 kB / 0.9965 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001164/0.2355, allocations: 44.98 kB / 0.9965 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.2359, allocations: 91.73 kB / 0.9966 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008018/0.2367, allocations: 1.485 MB / 0.9981 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.2369, allocations: 51.8 kB / 0.9981 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.237, allocations: 12 kB / 0.9981 GB, free: 8.047 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.0001691/0.2372, allocations: 245.1 kB / 0.9984 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.2372, allocations: 27.66 kB / 0.9984 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009358/0.2381, allocations: 493.7 kB / 0.9989 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2382, allocations: 4 kB / 0.9989 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2382, allocations: 0 / 0.9989 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2382, allocations: 0 / 0.9989 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.2387, allocations: 0.5738 MB / 0.9994 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2387, allocations: 0 / 0.9994 GB, free: 6.645 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.2391, allocations: 87.95 kB / 0.9995 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.2392, allocations: 32.83 kB / 0.9996 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.2392, allocations: 8 kB / 0.9996 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007128/0.2399, allocations: 1.428 MB / 1.001 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2399, allocations: 0 / 1.001 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.2408, allocations: 0.5656 MB / 1.002 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.2409, allocations: 132.7 kB / 1.002 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.2409, allocations: 4 kB / 1.002 GB, free: 4.207 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.2412, allocations: 43.95 kB / 1.002 GB, free: 4.164 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.2413, allocations: 39.88 kB / 1.002 GB, free: 4.125 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.2414, allocations: 4 kB / 1.002 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001217/0.2415, allocations: 172.5 kB / 1.002 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2415, allocations: 0 / 1.002 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005637/0.2421, allocations: 131.9 kB / 1.002 GB, free: 3.82 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.0001688/0.2422, allocations: 119.2 kB / 1.002 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.2438, allocations: 1.016 MB / 1.003 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2438, allocations: 0 / 1.003 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004966/0.2443, allocations: 338.8 kB / 1.003 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2447, allocations: 44.41 kB / 1.003 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009531/0.2457, allocations: 0.7462 MB / 1.004 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.2459, allocations: 0.7878 MB / 1.005 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002972/0.2462, allocations: 90.2 kB / 1.005 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.2463, allocations: 23.44 kB / 1.005 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2463, allocations: 4 kB / 1.005 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of Templates: time 0.00783/0.2541, allocations: 4.048 MB / 1.009 GB, free: 12.51 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)